License | GPL-2 |
---|---|
Maintainer | yi-devel@googlegroups.com |
Stability | experimental |
Portability | portable |
Safe Haskell | None |
Language | Haskell2010 |
Extensions |
|
Module providing text completion functions.
- wordComplete :: YiM ()
- wordComplete' :: Bool -> YiM ()
- wordCompleteString :: YiM Text
- wordCompleteString' :: Bool -> YiM Text
- mkWordComplete :: YiM Text -> (Text -> YiM [Text]) -> ([Text] -> YiM ()) -> (Text -> Text -> Bool) -> YiM Text
- resetComplete :: EditorM ()
- completeWordB :: CompletionScope -> EditorM ()
- data CompletionScope
Word completion
wordComplete :: YiM () Source #
wordComplete' :: Bool -> YiM () Source #
:: YiM Text | Extract function |
-> (Text -> YiM [Text]) | Source function |
-> ([Text] -> YiM ()) | Message function |
-> (Text -> Text -> Bool) | Predicate matcher |
-> YiM Text |
Try to complete the current word with occurences found elsewhere in the editor. Further calls try other options.
resetComplete :: EditorM () Source #
Switch out of completion mode.
completeWordB :: CompletionScope -> EditorM () Source #