Register NewFile and NewFileInDirection from Editor

This commit is contained in:
Antonio Scandurra 2023-12-01 12:11:54 +01:00
parent a8a5785ec5
commit faa896343b
2 changed files with 26 additions and 144 deletions

View file

@ -139,8 +139,6 @@ impl EditorElement {
register_action(view, cx, Editor::move_right);
register_action(view, cx, Editor::move_down);
register_action(view, cx, Editor::move_up);
// on_action(cx, Editor::new_file); todo!()
// on_action(cx, Editor::new_file_in_direction); todo!()
register_action(view, cx, Editor::cancel);
register_action(view, cx, Editor::newline);
register_action(view, cx, Editor::newline_above);