yi-0.6.2.4: The Haskell-Scriptable Editor

Yi.TextCompletion

Contents

Synopsis

Word completion

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.