Skip to main content

init

Function init 

Source
pub fn init(cx: &mut App)
Expand description

Install the editor’s key bindings. Scoped to the editor’s own key context, so binding tab here does not make tab mean “indent” for the whole app.

The chords are ui::input::TextField’s, because a document is not the place to invent a second set: what alt-left does in a search box is what a reader expects it to do here.