Skip to main content

Module controller

Module controller 

Source

Structs§

AcceptAction
A buffer replacement the host needs to perform after an accept.
AutocompleteController
Owns the popup lifecycle and the (debounced via generation tokens) query plumbing. The host calls sync(host) after every edit; the controller decides whether to open, refresh, or close the popup.

Enums§

AutocompleteMode
Whether wikilink triggers are honoured. The editor uses Both; the search box uses HashtagOnly because the search syntax has no [[…]] operator.
HandleKeyOutcome
What the controller decided when forwarded a key event.

Type Aliases§

RedrawCallback
Fire-and-forget redraw signal owned by the controller and invoked from the spawned query task. The host wires this to its event loop (e.g. tx.send(AppEvent::Redraw)).