| Portability | portable |
|---|---|
| Stability | experimental |
| Maintainer | yi-devel@googlegroups.com |
| Safe Haskell | None |
Yi.TextCompletion
Contents
Description
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
wordCompleteString' :: Bool -> YiM TextSource
Arguments
| :: 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
data CompletionScope Source
Constructors
| FromCurrentBuffer | |
| FromAllBuffers |
Instances
| Eq CompletionScope | |
| Show CompletionScope |