- type Editor c = EditorC (Container c)
- type Pos = (Int, Int)
- initialSaveToEditor :: Int -> Int -> FilePath -> String -> Editor c
- saveToEditor :: FilePath -> Editor c -> Editor c
- saveToFile :: Editor c -> Editor c
- saveToTmpFile :: Editor c -> Editor c
- isBoxCursor :: Editor c -> Bool
- cursorPosOfDpy :: Editor c -> Pos
- displayLines :: Editor c -> [String]
- displayVisualLines :: Editor c -> [(Bool, String)]
- fileName :: Editor c -> FilePath
- cursorPos :: Editor c -> Pos
- resizeDisplay :: Int -> Int -> Editor c -> Editor c
- cursorToXY :: Int -> Int -> Editor c -> Editor c
- cursorUp :: Editor c -> Editor c
- cursorDown :: Editor c -> Editor c
- cursorToTop :: Editor c -> Editor c
- cursorToLine :: Editor c -> Editor c
- cursorToLinePercent :: Editor c -> Editor c
- cursorToHead :: Editor c -> Editor c
- cursorToMiddle :: Editor c -> Editor c
- cursorToLast :: Editor c -> Editor c
- cursorLeft :: Editor c -> Editor c
- cursorRight :: Editor c -> Editor c
- cursorTopOfLine :: Editor c -> Editor c
- cursorTopOfLineNotSpace :: Editor c -> Editor c
- cursorEndOfLine :: Editor c -> Editor c
- cursorFindChar :: Char -> Editor c -> Editor c
- cursorFindCharBack :: Char -> Editor c -> Editor c
- cursorWord :: Editor c -> Editor c
- cursorWordEnd :: Editor c -> Editor c
- cursorBackWord :: Editor c -> Editor c
- cursorSearchStr :: Editor c -> Editor c
- cursorNextSearchStr :: Editor c -> Editor c
- cursorSearchStrBack :: Editor c -> Editor c
- cursorNextSearchStrBack :: Editor c -> Editor c
- resetStrForSearch :: Editor c -> Editor c
- addStrForSearch :: Char -> Editor c -> Editor c
- scrollUp :: Editor c -> Editor c
- scrollDown :: Editor c -> Editor c
- scrollUpPage :: Editor c -> Editor c
- scrollDownPage :: Editor c -> Editor c
- scrollUpHPage :: Editor c -> Editor c
- scrollDownHPage :: Editor c -> Editor c
- scrollForCursorHead :: Editor c -> Editor c
- scrollForCursorMiddle :: Editor c -> Editor c
- scrollForCursorLast :: Editor c -> Editor c
- deleteUp :: Editor c -> Editor c
- deleteDown :: Editor c -> Editor c
- deleteLine :: Editor c -> Editor c
- deleteInLargeVmode :: Editor c -> Editor c
- concatTwoLines :: Editor c -> Editor c
- deleteLeft :: Editor c -> Editor c
- deleteRight :: Editor c -> Editor c
- deleteChar :: Editor c -> Editor c
- deleteCursorToEnd :: Editor c -> Editor c
- deleteCursorToBegin :: Editor c -> Editor c
- deleteFind :: Char -> Editor c -> Editor c
- deleteFindMore :: Char -> Editor c -> Editor c
- deleteFindBack :: Char -> Editor c -> Editor c
- deleteWord :: Editor c -> Editor c
- deleteWordEnd :: Editor c -> Editor c
- deleteBackWord :: Editor c -> Editor c
- insertString :: String -> Editor c -> Editor c
- insertStringAfter :: String -> Editor c -> Editor c
- insertChar :: Char -> Editor c -> Editor c
- insertNL :: Editor c -> Editor c
- flipCase :: Editor c -> Editor c
- inInsertMode :: Editor c -> Editor c
- outInsertMode :: Editor c -> Editor c
- replaceModeOn :: Editor c -> Editor c
- replaceModeOff :: Editor c -> Editor c
- resetYank :: Editor c -> Editor c
- yankLines :: Editor c -> Editor c
- yankInLargeVmode :: Editor c -> Editor c
- pasteYanked :: Editor c -> Editor c
- pasteYankedAfter :: Editor c -> Editor c
- saveToHistory :: Editor c -> Editor c
- undo :: Editor c -> Editor c
- redo :: Editor c -> Editor c
- isModified :: Editor c -> Bool
- resetModified :: Editor c -> Editor c
- setVisualBeginY :: Editor c -> Editor c
- resetVisualmode :: Editor c -> Editor c
- resetStatus :: Editor c -> Editor c
- setStatus :: String -> Editor c -> Editor c
- addStatus :: Char -> Editor c -> Editor c
- bsStatus :: Editor c -> Editor c
- resetExCmd :: Editor c -> Editor c
- addExCmd :: Char -> Editor c -> Editor c
- getExCmd :: Editor c -> String
- bsExCmd :: Editor c -> Editor c
- multi :: (Editor c -> Editor c) -> Editor c -> Editor c
- resetTimes :: Editor c -> Editor c
- addTimes :: Char -> Editor c -> Editor c
- resetIOAction :: Editor c -> Editor c
- setIOAction :: (Editor c -> IO (Editor c)) -> Editor c -> Editor c
- runIOAction :: Editor c -> IO (Editor c)
- needDeleteThisEditor :: Editor c -> Bool
- deleteThisEditor :: Editor c -> Editor c
- getOtherValue :: Editor c -> Maybe c
- setOtherValue :: c -> Editor c -> Editor c
- modifyOtherValue :: (c -> c) -> Editor c -> Editor c
Types
Load to Editor, Save to file, Display Editor
Load from and Save to file
saveToEditor :: FilePath -> Editor c -> Editor cSource
saveToFile :: Editor c -> Editor cSource
saveToTmpFile :: Editor c -> Editor cSource
Get value for Display
isBoxCursor :: Editor c -> BoolSource
cursorPosOfDpy :: Editor c -> PosSource
displayLines :: Editor c -> [String]Source
displayVisualLines :: Editor c -> [(Bool, String)]Source
Get Editor state
Resize
Move cursor
Set cursor position
Move vertical
cursorDown :: Editor c -> Editor cSource
cursorToTop :: Editor c -> Editor cSource
cursorToLine :: Editor c -> Editor cSource
cursorToLinePercent :: Editor c -> Editor cSource
cursorToHead :: Editor c -> Editor cSource
cursorToMiddle :: Editor c -> Editor cSource
cursorToLast :: Editor c -> Editor cSource
Move horizontal
cursorLeft :: Editor c -> Editor cSource
cursorRight :: Editor c -> Editor cSource
cursorTopOfLine :: Editor c -> Editor cSource
cursorTopOfLineNotSpace :: Editor c -> Editor cSource
cursorEndOfLine :: Editor c -> Editor cSource
cursorFindChar :: Char -> Editor c -> Editor cSource
cursorFindCharBack :: Char -> Editor c -> Editor cSource
Move horizontal over lines
cursorWord :: Editor c -> Editor cSource
cursorWordEnd :: Editor c -> Editor cSource
cursorBackWord :: Editor c -> Editor cSource
cursorSearchStr :: Editor c -> Editor cSource
cursorNextSearchStr :: Editor c -> Editor cSource
cursorSearchStrBack :: Editor c -> Editor cSource
cursorNextSearchStrBack :: Editor c -> Editor cSource
resetStrForSearch :: Editor c -> Editor cSource
addStrForSearch :: Char -> Editor c -> Editor cSource
Scroll
scrollDown :: Editor c -> Editor cSource
scrollUpPage :: Editor c -> Editor cSource
scrollDownPage :: Editor c -> Editor cSource
scrollUpHPage :: Editor c -> Editor cSource
scrollDownHPage :: Editor c -> Editor cSource
scrollForCursorHead :: Editor c -> Editor cSource
scrollForCursorMiddle :: Editor c -> Editor cSource
scrollForCursorLast :: Editor c -> Editor cSource
Delete
Delete vertical
deleteDown :: Editor c -> Editor cSource
deleteLine :: Editor c -> Editor cSource
deleteInLargeVmode :: Editor c -> Editor cSource
concatTwoLines :: Editor c -> Editor cSource
Delete horizontal
deleteLeft :: Editor c -> Editor cSource
deleteRight :: Editor c -> Editor cSource
deleteChar :: Editor c -> Editor cSource
deleteCursorToEnd :: Editor c -> Editor cSource
deleteCursorToBegin :: Editor c -> Editor cSource
deleteFind :: Char -> Editor c -> Editor cSource
deleteFindMore :: Char -> Editor c -> Editor cSource
deleteFindBack :: Char -> Editor c -> Editor cSource
Delete horizontal over lines
deleteWord :: Editor c -> Editor cSource
deleteWordEnd :: Editor c -> Editor cSource
deleteBackWord :: Editor c -> Editor cSource
Insert
insertString :: String -> Editor c -> Editor cSource
insertStringAfter :: String -> Editor c -> Editor cSource
insertChar :: Char -> Editor c -> Editor cSource
inInsertMode :: Editor c -> Editor cSource
outInsertMode :: Editor c -> Editor cSource
replaceModeOn :: Editor c -> Editor cSource
replaceModeOff :: Editor c -> Editor cSource
Yank and Paste
yankInLargeVmode :: Editor c -> Editor cSource
pasteYanked :: Editor c -> Editor cSource
pasteYankedAfter :: Editor c -> Editor cSource
Abount Undo etc
saveToHistory :: Editor c -> Editor cSource
isModified :: Editor c -> BoolSource
resetModified :: Editor c -> Editor cSource
Visual mode
setVisualBeginY :: Editor c -> Editor cSource
resetVisualmode :: Editor c -> Editor cSource
Edit status bar
resetStatus :: Editor c -> Editor cSource
resetExCmd :: Editor c -> Editor cSource
Run multi times
resetTimes :: Editor c -> Editor cSource
IO Action
resetIOAction :: Editor c -> Editor cSource
runIOAction :: Editor c -> IO (Editor c)Source
Delete Editor
needDeleteThisEditor :: Editor c -> BoolSource
deleteThisEditor :: Editor c -> Editor cSource
Other value
getOtherValue :: Editor c -> Maybe cSource
setOtherValue :: c -> Editor c -> Editor cSource
modifyOtherValue :: (c -> c) -> Editor c -> Editor cSource