Overhaul multiple caret editing in TextEdit.
Use a multicaret edit to delay merging overlapping carets until the end.
This commit is contained in:
@ -207,9 +207,6 @@ class CodeTextEditor : public VBoxContainer {
|
||||
|
||||
void _toggle_scripts_pressed();
|
||||
|
||||
int _get_affected_lines_from(int p_caret);
|
||||
int _get_affected_lines_to(int p_caret);
|
||||
|
||||
protected:
|
||||
virtual void _load_theme_settings() {}
|
||||
virtual void _validate_script() {}
|
||||
@ -238,11 +235,6 @@ public:
|
||||
|
||||
void set_indent_using_spaces(bool p_use_spaces);
|
||||
|
||||
void move_lines_up();
|
||||
void move_lines_down();
|
||||
void delete_lines();
|
||||
void duplicate_selection();
|
||||
|
||||
/// Toggle inline comment on currently selected lines, or on current line if nothing is selected,
|
||||
/// by adding or removing comment delimiter
|
||||
void toggle_inline_comment(const String &delimiter);
|
||||
|
||||
Reference in New Issue
Block a user