summaryrefslogtreecommitdiffstats
path: root/scene/gui/code_edit.h
diff options
context:
space:
mode:
authorRémi Verschelde <remi@verschelde.fr>2021-08-12 20:33:56 +0200
committerGitHub <noreply@github.com>2021-08-12 20:33:56 +0200
commit5e0838c58e62553c66c632e36a802a73b9fa57a2 (patch)
treee00ab30c49a8e26ebb0c82c4e3065d5de8c6fb51 /scene/gui/code_edit.h
parentb2b33ce4f6c6f32681f7fa71a8af78242cbf7c19 (diff)
parenta736fb8ce9ba9b8d701382267a1973fa8f1366c0 (diff)
downloadredot-engine-5e0838c58e62553c66c632e36a802a73b9fa57a2.tar.gz
Merge pull request #50372 from Paulb23/code_edit_breakpoint_fixes
Fix breakpoint toggle signal not firing when expected
Diffstat (limited to 'scene/gui/code_edit.h')
-rw-r--r--scene/gui/code_edit.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/scene/gui/code_edit.h b/scene/gui/code_edit.h
index 558c7adaea..76ac15f553 100644
--- a/scene/gui/code_edit.h
+++ b/scene/gui/code_edit.h
@@ -221,8 +221,6 @@ private:
void _filter_code_completion_candidates();
- void _lines_edited_from(int p_from_line, int p_to_line);
-
/* Line length guidelines */
TypedArray<int> line_length_guideline_columns;
Color line_length_guideline_color;
@@ -241,6 +239,14 @@ private:
int line_spacing = 1;
+ /* Callbacks */
+ int lines_edited_from = -1;
+ int lines_edited_to = -1;
+
+ void _lines_edited_from(int p_from_line, int p_to_line);
+ void _text_set();
+ void _text_changed();
+
protected:
void _gui_input(const Ref<InputEvent> &p_gui_input) override;
void _notification(int p_what);