diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2024-08-27 22:27:25 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2024-08-27 22:27:25 +0200 |
commit | d35bee9cdd0c74bfdbee8bef701121664752b4d7 (patch) | |
tree | b487e252759395ac78d115f16b3a735bad1abded /editor/plugins/text_editor.cpp | |
parent | 8ae2c3a000692c1336f83ecac586cff814fc99a1 (diff) | |
parent | 06b17a4d2f9144cd06b2b0b3b9a9cab3cac54b99 (diff) | |
download | redot-engine-d35bee9cdd0c74bfdbee8bef701121664752b4d7.tar.gz |
Merge pull request #94002 from kitbdev/fix-goto-error
Fix goto line issues in code editor
Diffstat (limited to 'editor/plugins/text_editor.cpp')
-rw-r--r-- | editor/plugins/text_editor.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/plugins/text_editor.cpp b/editor/plugins/text_editor.cpp index ecdc4acf47..cb1f6c1ec6 100644 --- a/editor/plugins/text_editor.cpp +++ b/editor/plugins/text_editor.cpp @@ -304,8 +304,8 @@ void TextEditor::tag_saved_version() { code_editor->get_text_editor()->tag_saved_version(); } -void TextEditor::goto_line(int p_line, bool p_with_error) { - code_editor->goto_line(p_line); +void TextEditor::goto_line(int p_line, int p_column) { + code_editor->goto_line(p_line, p_column); } void TextEditor::goto_line_selection(int p_line, int p_begin, int p_end) { |