Add 'Skip to next (text) occurrence' feature to text editor
Adds `ui_text_skip_selection_for_next_occurrence` action and related implementation to text editor. This action is bound `Ctrl+Alt+D` shorcut. Used in conjonction with `ui_add_skip_selection_for_next_occurrence`, it gives the user the ability to select many occurrences of a selection and avoid some of them. Used without a previous selection, the action jumps to the next occurrence of the current word under the caret.
This commit is contained in:
@ -890,6 +890,7 @@ public:
|
||||
void select_all();
|
||||
void select_word_under_caret(int p_caret = -1);
|
||||
void add_selection_for_next_occurrence();
|
||||
void skip_selection_for_next_occurrence();
|
||||
void select(int p_from_line, int p_from_column, int p_to_line, int p_to_column, int p_caret = 0);
|
||||
|
||||
bool has_selection(int p_caret = -1) const;
|
||||
|
||||
Reference in New Issue
Block a user