summaryrefslogtreecommitdiffstats
path: root/editor/code_editor.h
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2024-08-27 22:27:25 +0200
committerRémi Verschelde <rverschelde@gmail.com>2024-08-27 22:27:25 +0200
commitd35bee9cdd0c74bfdbee8bef701121664752b4d7 (patch)
treeb487e252759395ac78d115f16b3a735bad1abded /editor/code_editor.h
parent8ae2c3a000692c1336f83ecac586cff814fc99a1 (diff)
parent06b17a4d2f9144cd06b2b0b3b9a9cab3cac54b99 (diff)
downloadredot-engine-d35bee9cdd0c74bfdbee8bef701121664752b4d7.tar.gz
Merge pull request #94002 from kitbdev/fix-goto-error
Fix goto line issues in code editor
Diffstat (limited to 'editor/code_editor.h')
-rw-r--r--editor/code_editor.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/code_editor.h b/editor/code_editor.h
index 28f6944b66..d209d5c7a2 100644
--- a/editor/code_editor.h
+++ b/editor/code_editor.h
@@ -246,9 +246,9 @@ public:
/// by adding or removing comment delimiter
void toggle_inline_comment(const String &delimiter);
- void goto_line(int p_line);
+ void goto_line(int p_line, int p_column = 0);
void goto_line_selection(int p_line, int p_begin, int p_end);
- void goto_line_centered(int p_line);
+ void goto_line_centered(int p_line, int p_column = 0);
void set_executing_line(int p_line);
void clear_executing_line();