yi-core-0.16.0: Yi editor core library

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

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.