You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-11 13:10:58 +00:00
Store line change in script navigation history
This commit is contained in:
@@ -99,6 +99,7 @@ class ScriptTextEditor : public ScriptEditorBase {
|
||||
|
||||
Color marked_line_color = Color(1, 1, 1);
|
||||
Color folded_code_region_color = Color(1, 1, 1);
|
||||
int previous_line = 0;
|
||||
|
||||
PopupPanel *color_panel = nullptr;
|
||||
ColorPicker *color_picker = nullptr;
|
||||
@@ -164,6 +165,8 @@ protected:
|
||||
void _breakpoint_item_pressed(int p_idx);
|
||||
void _breakpoint_toggled(int p_row);
|
||||
|
||||
void _on_caret_moved();
|
||||
|
||||
void _validate_script(); // No longer virtual.
|
||||
void _update_warnings();
|
||||
void _update_errors();
|
||||
@@ -260,6 +263,9 @@ public:
|
||||
|
||||
virtual void validate() override;
|
||||
|
||||
Variant get_previous_state();
|
||||
void store_previous_state();
|
||||
|
||||
ScriptTextEditor();
|
||||
~ScriptTextEditor();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user