yi-0.7.2: The Haskell-Scriptable Editor

Safe HaskellNone

Yi.TextCompletion

Contents

Synopsis

Word completion

wordComplete' :: Bool -> YiM ()Source

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

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.