summaryrefslogtreecommitdiffstats
path: root/editor/plugins/script_text_editor.cpp
diff options
context:
space:
mode:
authorkobewi <kobewi4e@gmail.com>2022-09-23 14:46:28 +0200
committerkobewi <kobewi4e@gmail.com>2022-09-25 23:06:39 +0200
commit14435ebcee2b0e6a90f9303771246fb2f9cf8777 (patch)
tree60464bfb8f23c024cf6a7e6bac618d913dcabd95 /editor/plugins/script_text_editor.cpp
parentef266183598401d89482c5d2035d7e4cd3f64cb9 (diff)
downloadredot-engine-14435ebcee2b0e6a90f9303771246fb2f9cf8777.tar.gz
Split script navigation state and edit state
Diffstat (limited to 'editor/plugins/script_text_editor.cpp')
-rw-r--r--editor/plugins/script_text_editor.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/editor/plugins/script_text_editor.cpp b/editor/plugins/script_text_editor.cpp
index 7a57f8a1e2..9b02d4a172 100644
--- a/editor/plugins/script_text_editor.cpp
+++ b/editor/plugins/script_text_editor.cpp
@@ -346,6 +346,10 @@ void ScriptTextEditor::set_edit_state(const Variant &p_state) {
}
}
+Variant ScriptTextEditor::get_navigation_state() {
+ return code_editor->get_navigation_state();
+}
+
void ScriptTextEditor::_convert_case(CodeTextEditor::CaseStyle p_case) {
code_editor->convert_case(p_case);
}