|
|
|
|
|
| Description |
| This module provides access to text marks inside an editor widget. |
|
| Synopsis |
|
|
|
| Documentation |
|
| data Editor |
| The Editor datatpe. |
|
| data Gravity |
|
|
| data Mark |
| The Mark datatype. | | Constructors | | | Instances | |
|
|
| createMark |
| :: (HasIndex Editor i BaseIndex) | | | => Editor | the concerned editor widget. | | -> String | the name of the text mark to create. | | -> i | the text marks index position inside the editor
widget. | | -> IO Mark | A text mark. | | Creates a text mark inside an editor widget and returns a handler. |
|
|
| setMarkGravity |
| :: Mark | the concerned text mark. | | -> Gravity | the gravity to set. | | -> IO () | None. | | Sets the gravity of the given text mark. |
|
|
| setMark |
|
|
| unsetMark |
| :: Mark | the concerned text mark. | | -> IO () | None. | | Unsets a text mark inside an editor widget. |
|
|
| getCurrentMarks |
| :: Editor | the concerned editor widget. | | -> IO [Mark] | A list of text marks. | | Gets the current marks from an editor widget. |
|
|
| Produced by Haddock version 0.3 |