|
@@ -519,6 +519,7 @@ void ScriptTextEditor::tag_saved_version() {
|
|
|
|
|
|
void ScriptTextEditor::goto_line(int p_line, bool p_with_error) {
|
|
void ScriptTextEditor::goto_line(int p_line, bool p_with_error) {
|
|
TextEdit *tx = code_editor->get_text_edit();
|
|
TextEdit *tx = code_editor->get_text_edit();
|
|
|
|
+ tx->deselect();
|
|
tx->unfold_line(p_line);
|
|
tx->unfold_line(p_line);
|
|
tx->call_deferred("cursor_set_line", p_line);
|
|
tx->call_deferred("cursor_set_line", p_line);
|
|
}
|
|
}
|