| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Hob.Context
Documentation
Constructors
| Context | |
Fields
| |
data PreviewCommandHandler Source
Constructors
| PreviewCommandHandler | |
Fields
| |
data CommandHandler Source
Constructors
| CommandHandler | |
Fields | |
type KeyboardBinding = ([Modifier], String) Source
type KeyCommandMatcher = SingleCommandMatcher KeyboardBinding Source
type TextCommandMatcher = SingleCommandMatcher String Source
Constructors
| Mode | |
Fields
| |
data EditorList Source
Constructors
| EditorList | |
Fields
| |
initContext :: StyleContext -> FileContext -> UiContext -> TreeStore DirectoryTreeElement -> CommandMatcher -> IO Context Source
runOnEditor :: (Editor -> Editor -> a) -> Editor -> a Source
exitLastMode :: App () Source
activeModes :: App (Maybe [Mode]) Source
deferredRunner :: Context -> App () -> IO () Source
registerEventHandler :: Event -> App () -> App () Source
createMatcherForPrefix :: String -> (String -> CommandHandler) -> CommandMatcher Source
fromContext :: MonadReader r m => (r -> a) -> m a Source