Skip to main content

editor_selector

Function editor_selector 

Source
pub fn editor_selector(current: &Editor) -> Element<'static, Message>
Expand description

Create an editor selector pick_list() widget.

The widget displays the name of the current editor and, when opened, lists every editor returned by all_editors. Selecting a new entry emits Message::EditorChanged with the chosen gitkraft_core::Editor.