Add support for editor::SwapSelectionEnds
everywhere (emacs exchange-point-and-mark) (#23428)
Add `editor:: SwapSelectionEnds ` action which swaps the cursor location from the beginning/end of a given selection. Renamed from `editor::ExchangeMark` to `editor::SwapSelectionEnds`. Unbound by default, bound to `ctrl-x ctrl-x` in Emacs keymap.
This commit is contained in:
parent
31909bf334
commit
3d47f32f0c
5 changed files with 16 additions and 15 deletions
|
@ -357,7 +357,7 @@ impl EditorElement {
|
|||
register_action(view, cx, Editor::unfold_at);
|
||||
register_action(view, cx, Editor::fold_selected_ranges);
|
||||
register_action(view, cx, Editor::set_mark);
|
||||
register_action(view, cx, Editor::exchange_mark);
|
||||
register_action(view, cx, Editor::swap_selection_ends);
|
||||
register_action(view, cx, Editor::show_completions);
|
||||
register_action(view, cx, Editor::toggle_code_actions);
|
||||
register_action(view, cx, Editor::open_excerpts);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue