Split DuplicateLine into DuplicateLineUp and DuplicateLineDown (#9715)

Fixes #9601

Release Notes:
- `DuplicateLine` is now split into `DuplicateLineUp` and
`DuplicateLineDown`
This commit is contained in:
Daniel Zhu 2024-03-28 03:52:08 -07:00 committed by GitHub
parent c33ee52046
commit f5823f9942
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 25 additions and 27 deletions

View file

@ -177,7 +177,8 @@ impl EditorElement {
register_action(view, cx, Editor::delete_to_beginning_of_line);
register_action(view, cx, Editor::delete_to_end_of_line);
register_action(view, cx, Editor::cut_to_end_of_line);
register_action(view, cx, Editor::duplicate_line);
register_action(view, cx, Editor::duplicate_line_up);
register_action(view, cx, Editor::duplicate_line_down);
register_action(view, cx, Editor::move_line_up);
register_action(view, cx, Editor::move_line_down);
register_action(view, cx, Editor::transpose);