Merge pull request #14613 from voithos/fold-jump-bugfix

Account for folded code blocks when navigating via members list
This commit is contained in:
Rémi Verschelde 2017-12-16 01:16:25 +01:00 committed by GitHub
commit 03fb1fd7fa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 8 deletions

View file

@ -537,10 +537,6 @@ void ScriptTextEditor::set_edit_state(const Variant &p_state) {
code_editor->get_text_edit()->cursor_set_line(state["row"]);
code_editor->get_text_edit()->set_v_scroll(state["scroll_position"]);
code_editor->get_text_edit()->grab_focus();
//int scroll_pos;
//int cursor_column;
//int cursor_row;
}
String ScriptTextEditor::get_name() {