diff options
author | Dawid Wdowiak <dwdw9@wp.pl> | 2019-01-04 13:09:01 +0100 |
---|---|---|
committer | Dawid Wdowiak <dawidwdowiak@hotmail.com> | 2019-06-23 15:58:07 +0200 |
commit | 0f14489ecb29519b269cba178f23b6b727fd6445 (patch) | |
tree | 3ce779af059ae53e9486ee49934b0ae947b82b80 /editor/plugins/script_text_editor.cpp | |
parent | 4d6ad16ac4e07ab0e65a75262b2d7ccd1913c844 (diff) |
Center script line when double clicked on error in debugger
Diffstat (limited to 'editor/plugins/script_text_editor.cpp')
-rw-r--r-- | editor/plugins/script_text_editor.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/editor/plugins/script_text_editor.cpp b/editor/plugins/script_text_editor.cpp index ce0859a1f6..2c2b1508c3 100644 --- a/editor/plugins/script_text_editor.cpp +++ b/editor/plugins/script_text_editor.cpp @@ -487,6 +487,11 @@ void ScriptTextEditor::goto_line_selection(int p_line, int p_begin, int p_end) { code_editor->goto_line_selection(p_line, p_begin, p_end); } +void ScriptTextEditor::goto_line_centered(int p_line) { + + code_editor->goto_line_centered(p_line); +} + void ScriptTextEditor::set_executing_line(int p_line) { code_editor->set_executing_line(p_line); } |