diff options
| author | kobewi <kobewi4e@gmail.com> | 2021-06-03 01:05:41 +0200 |
|---|---|---|
| committer | kobewi <kobewi4e@gmail.com> | 2021-06-08 23:23:07 +0200 |
| commit | da6aebeb4c6e36385a180644d8080ec580e3fadb (patch) | |
| tree | 5c61a364ddb75ffddf7a52760eb5ea1512f48e24 /editor/plugins/script_text_editor.cpp | |
| parent | 4e52b84011b4b3c9edb7646731c3ffe451d26316 (diff) | |
| download | redot-engine-da6aebeb4c6e36385a180644d8080ec580e3fadb.tar.gz | |
Move FindReplaceBar out of CodeTextEditor
Diffstat (limited to 'editor/plugins/script_text_editor.cpp')
| -rw-r--r-- | editor/plugins/script_text_editor.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/editor/plugins/script_text_editor.cpp b/editor/plugins/script_text_editor.cpp index a29e51e8fb..8fa6b66eda 100644 --- a/editor/plugins/script_text_editor.cpp +++ b/editor/plugins/script_text_editor.cpp @@ -1358,6 +1358,10 @@ void ScriptTextEditor::clear_edit_menu() { memdelete(edit_hb); } +void ScriptTextEditor::set_find_replace_bar(FindReplaceBar *p_bar) { + code_editor->set_find_replace_bar(p_bar); +} + void ScriptTextEditor::reload(bool p_soft) { CodeEdit *te = code_editor->get_text_editor(); Ref<Script> scr = script; |
