rasa-0.1.12: A modular text editor

Safe HaskellNone
LanguageHaskell2010

Rasa.Internal.Events

Synopsis

Documentation

data BeforeRender Source #

This event is dispatched immediately before dispatching the OnRender event.

Constructors

BeforeRender 

data OnRender Source #

This event is dispatched when it's time for extensions to render to screen.

Constructors

OnRender 

data AfterRender Source #

This event is dispatched immediately after dispatching OnRender.

Constructors

AfterRender 

data BufAdded Source #

This event is dispatched after adding a new buffer. The contained BufRef refers to the new buffer.

Constructors

BufAdded BufRef 

data Keypress Source #

This event is dispatched in response to keyboard key presses. It contains both the char that was pressed and any modifiers (Mod) that where held when the key was pressed.

data Mod Source #

This represents each modifier key that could be pressed along with a key.

Constructors

Ctrl 
Alt 
Shift 
Meta 

Instances

Eq Mod Source # 

Methods

(==) :: Mod -> Mod -> Bool #

(/=) :: Mod -> Mod -> Bool #

Show Mod Source # 

Methods

showsPrec :: Int -> Mod -> ShowS #

show :: Mod -> String #

showList :: [Mod] -> ShowS #

data BufTextChanged Source #

This is triggered when text in a buffer is changed. The Event data includes the CrdRange that changed and the new text which is now contined in that range.