summaryrefslogtreecommitdiffstats
path: root/editor/plugins/script_text_editor.cpp
diff options
context:
space:
mode:
authorPaulb23 <p_batty@hotmail.co.uk>2021-07-09 13:07:10 +0100
committerPaulb23 <p_batty@hotmail.co.uk>2021-08-12 09:29:58 +0100
commitb70001131498d9487cc131d0ba27fff1abab99e8 (patch)
tree4748389bd878fed4905177293d5251cf2a3ecc38 /editor/plugins/script_text_editor.cpp
parent9ec3e7f3d7ae7f9eaf5a1de29346c5e10b3af6f9 (diff)
downloadredot-engine-b70001131498d9487cc131d0ba27fff1abab99e8.tar.gz
Protect internal CodeEdit --> TextEdit API
Diffstat (limited to 'editor/plugins/script_text_editor.cpp')
-rw-r--r--editor/plugins/script_text_editor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/script_text_editor.cpp b/editor/plugins/script_text_editor.cpp
index ad25bca9da..6d2b22c46c 100644
--- a/editor/plugins/script_text_editor.cpp
+++ b/editor/plugins/script_text_editor.cpp
@@ -1062,7 +1062,7 @@ void ScriptTextEditor::_edit_option(int p_op) {
tx->update();
} break;
case EDIT_UNFOLD_ALL_LINES: {
- tx->unhide_all_lines();
+ tx->unfold_all_lines();
tx->update();
} break;
case EDIT_TOGGLE_COMMENT: {