You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +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:
@@ -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() {}
|
||||
|
||||
Reference in New Issue
Block a user