yi-0.12.6: The Haskell-Scriptable Editor

LicenseGPL-2
Maintaineryi-devel@googlegroups.com
Stabilityexperimental
Portabilityportable
Safe HaskellNone
LanguageHaskell2010
Extensions
  • OverloadedStrings
  • DeriveDataTypeable
  • GeneralizedNewtypeDeriving
  • NondecreasingIndentation

Yi.TextCompletion

Contents

Description

Module providing text completion functions.

Synopsis

Word completion

mkWordComplete Source #

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.