mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Fixes Delete Line doesn't delete first line in script
Also, match multi-line delete behavior in script with single line: If there are four lines: A, B, C, D. Before the change: Delete C: Cursor lands on D Delete B and C: Cursor lands on A After the change: Delete C: Cursor lands on D Delete B and C: Cursor lands on D
This commit is contained in:
parent
d7b2940eb6
commit
6eaec3d10d
2 changed files with 19 additions and 13 deletions
|
@ -185,6 +185,8 @@ class CodeTextEditor : public VBoxContainer {
|
|||
void _set_show_warnings_panel(bool p_show);
|
||||
void _error_pressed(const Ref<InputEvent> &p_event);
|
||||
|
||||
void _delete_line(int p_line);
|
||||
|
||||
protected:
|
||||
virtual void _load_theme_settings() {}
|
||||
virtual void _validate_script() {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue