Skip to main content

Crate idet_core

Crate idet_core 

Source
Expand description

Backend-agnostic editing logic for the text editor: word autocomplete, line moves, word swaps and indentation edits.

Modulesยง

brackets
Bracket-pair matching: find the counterpart of a bracket at or near the cursor.
completion
Word collection and prefix matching for autocomplete.
edits
Text insertion and indentation edits, all character-index based.
lineops
Moving the current line, paragraph or markdown section up or down.
options
Editing options both frontends read from one file, so that changing them in the window editor changes them for the terminal editor as well.
search
Finding and replacing a literal term in a text.
syntax
Syntax highlighting described by a config file, one per language.
wordops
Swapping the word at the cursor with an adjacent word.
wrap
Breaking long lines into the screen rows that show them, for a frontend that lays out text itself.