|
|
|
Description |
Operations involving Offset and Range through an Engine
|
|
Synopsis |
|
|
|
Documentation |
|
|
:: Ctx m | | => Offset | the new position for the cursor
| -> Editor m Engine | the modified engine under the Editor
| move the cursor in the engine
|
|
|
|
:: Ctx m | | => Range | the range to focus
| -> Editor m (Int, Engine) | the tuple (nelements,engine placed
at first offset of range)
| From a range to the tuple (nelements,starting range element)
|
|
|
|
:: Ctx m | | => Offset | Offset for the action
| -> a -> Editor m b | the final action
| -> Engine -> Maybe a | the backend ation
| -> Editor m b | ..
| a complete backend + Editor action on an Offset
|
|
|
|
:: Ctx m | | => Offset | Offset for the backend action
| -> Engine -> Maybe Engine | the backend ation
| -> Editor m () | modified monad
| a backend action ending in a save state for the file
|
|
|
|
:: Ctx m | | => Range | the addressed range
| -> a -> Editor m b | the closing Editor action
| -> Int -> Engine -> Maybe a | the backend action
| -> Editor m b | ...
| a complete backend + Editor action on a Range
|
|
|
|
|
|
Produced by Haddock version 2.3.0 |