Rasa.Ext

Editor Actions

data Action a

exit

addBuffer

addBufferThen

nextBuf

prevBuf

Buffer Actions

data BufAction a

bufDo

focusDo

overRange

replaceRange

deleteRange

insertAt

sizeOf

Persisting Extension State

ext

bufExt

Accessing/Editing Context

data Buffer

text

exiting

Events

data Keypress

data Mod

Dealing with events

data Scheduler a

type Hooks

data Hook

dispatchEvent

eventListener

Built-in Event Hooks

onInit

beforeEvent

beforeRender

onRender

afterRender

onExit

Ranges

data Range

data Coord

data Offset

data Span a

combineSpans

asCoord

clampCoord

clampRange

range

sizeOfR

afterC

beforeC

moveRange

moveRangeByN

moveCursorByN

Useful Utilities

asText

asString

asLines

rope

clamp