Safe Haskell | None |
---|---|
Language | Haskell2010 |
- data UIConfig = UIConfig {
- configVtyEscDelay :: Int
- configFontName :: Maybe String
- configFontSize :: Maybe Int
- configScrollStyle :: Maybe ScrollStyle
- configScrollWheelAmount :: Int
- configLeftSideScrollBar :: Bool
- configAutoHideScrollBar :: Bool
- configAutoHideTabBar :: Bool
- configLineWrap :: Bool
- configCursorStyle :: CursorStyle
- configWindowFill :: Char
- configTheme :: Theme
- data CursorStyle
- configStyle :: UIConfig -> UIStyle
- data Config = Config {
- startFrontEnd :: UIBoot
- configUI :: UIConfig
- startActions :: [Action]
- initialActions :: [Action]
- defaultKm :: KeymapSet
- configInputPreprocess :: P Event Event
- modeTable :: [AnyMode]
- debugMode :: Bool
- configRegionStyle :: RegionStyle
- configKillringAccumulate :: Bool
- configCheckExternalChangesObsessively :: Bool
- bufferUpdateHandler :: [[Update] -> BufferM ()]
- layoutManagers :: [AnyLayoutManager]
- configVars :: ConfigVariables
- configFundamentalMode :: Config -> AnyMode
- configTopLevelKeymap :: Config -> Keymap
- type UIBoot = Config -> (Event -> IO ()) -> ([Action] -> IO ()) -> Editor -> IO UI
- startFrontEndA :: Lens' Config UIBoot
- startActionsA :: Lens' Config [Action]
- modeTableA :: Lens' Config [AnyMode]
- layoutManagersA :: Lens' Config [AnyLayoutManager]
- initialActionsA :: Lens' Config [Action]
- defaultKmA :: Lens' Config KeymapSet
- debugModeA :: Lens' Config Bool
- configVarsA :: Lens' Config ConfigVariables
- configUIA :: Lens' Config UIConfig
- configRegionStyleA :: Lens' Config RegionStyle
- configKillringAccumulateA :: Lens' Config Bool
- configInputPreprocessA :: Lens' Config (P Event Event)
- configCheckExternalChangesObsessivelyA :: Lens' Config Bool
- bufferUpdateHandlerA :: Lens' Config [[Update] -> BufferM ()]
- configWindowFillA :: Lens' UIConfig Char
- configVtyEscDelayA :: Lens' UIConfig Int
- configThemeA :: Lens' UIConfig Theme
- configScrollWheelAmountA :: Lens' UIConfig Int
- configScrollStyleA :: Lens' UIConfig (Maybe ScrollStyle)
- configLineWrapA :: Lens' UIConfig Bool
- configLeftSideScrollBarA :: Lens' UIConfig Bool
- configFontSizeA :: Lens' UIConfig (Maybe Int)
- configFontNameA :: Lens' UIConfig (Maybe String)
- configCursorStyleA :: Lens' UIConfig CursorStyle
- configAutoHideTabBarA :: Lens' UIConfig Bool
- configAutoHideScrollBarA :: Lens' UIConfig Bool
Documentation
UIConfig | |
|
data CursorStyle Source
When should we use a "fat" cursor (i.e. 2 pixels wide, rather than 1)? Fat cursors have only been implemented for the Pango frontend.
configStyle :: UIConfig -> UIStyle Source
Configuration record. All Yi hooks can be set here.
Config | |
|
startActionsA :: Lens' Config [Action]
modeTableA :: Lens' Config [AnyMode]
initialActionsA :: Lens' Config [Action]
bufferUpdateHandlerA :: Lens' Config [[Update] -> BufferM ()]
configFontSizeA :: Lens' UIConfig (Maybe Int)