yi-0.8.1: The Haskell-Scriptable Editor

Safe HaskellNone
LanguageHaskell2010

Yi.TextCompletion

Contents

Synopsis

Word completion

mkWordComplete :: YiM String -> (String -> YiM [String]) -> ([String] -> YiM ()) -> (String -> String -> Bool) -> YiM String Source

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.