| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Matterhorn.State.Autocomplete
Synopsis
Documentation
data AutocompleteContext Source #
Constructors
| AutocompleteContext | |
Fields
| |
checkForAutocompletion :: Traversal' ChatState (EditState Name) -> AutocompleteContext -> MH () Source #
Check for whether the currently-edited word in the message editor should cause an autocompletion UI to appear. If so, initiate a server query or local cache lookup to present the completion alternatives for the word at the cursor.