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

Safe HaskellNone
LanguageHaskell2010

Rasa.Ext.Cursors.Internal.Base

Synopsis

Documentation

rangeDo :: (CrdRange -> BufAction a) -> BufAction [a] Source #

Sequences actions over each range as a BufAction

rangeDo_ :: (CrdRange -> BufAction a) -> BufAction () Source #

rangeDo with void return.

getRanges :: BufAction [CrdRange] Source #

A lens over all the stored cursor ranges for a buffer

overEachRange :: (CrdRange -> BufAction CrdRange) -> BufAction () Source #

Sequences actions over each range and replaces each range with its result.

addRange :: CrdRange -> BufAction () Source #

Adds a new range to the list of ranges.

displayRange :: BufAction () Source #

Sets style attributes to show a given range.