rasa-ext-cursors-0.1.3: Rasa Ext adding cursor(s)

Safe HaskellNone
LanguageHaskell2010

Rasa.Ext.Cursors.Internal.Actions

Synopsis

Documentation

delete :: BufAction () Source #

Delete the text of all ranges in a buffer

insertText :: YiString -> BufAction () Source #

Insert text at the beginning of all ranges in the buffer.

findNext :: YiString -> BufAction () Source #

Move all ranges to the location of the next occurence of the given text.

findPrev :: YiString -> BufAction () Source #

Move all ranges to the location of the previous occurence of the given text.

findNextFrom :: YiString -> Coord -> BufAction Coord Source #

Get the Coord of the next occurence of the given text after the given Coord

findPrevFrom :: YiString -> Coord -> BufAction Coord Source #

Get the Coord of the previous occurence of the given text before the given Coord

moveRangesByN :: Int -> BufAction () Source #

Move all ranges by the given number of columns

moveRangesByC :: Coord -> BufAction () Source #

Move all ranges by the given number of rows and columns