diff options
| author | letheed | 2017-09-10 15:37:49 +0200 |
|---|---|---|
| committer | letheed | 2017-09-20 13:11:10 +0200 |
| commit | 5ad9be4c24e9d7dc5672fdc42cea896622fe5685 (patch) | |
| tree | a8811a50265edd940b00e12b9bd522e3e9b4694e /editor/code_editor.cpp | |
| parent | ecd226c6a751f8a20766363fd1f2e1e0e2da8fba (diff) | |
| download | godot-5ad9be4c24e9d7dc5672fdc42cea896622fe5685.tar.gz godot-5ad9be4c24e9d7dc5672fdc42cea896622fe5685.tar.zst godot-5ad9be4c24e9d7dc5672fdc42cea896622fe5685.zip | |
Diffstat (limited to 'editor/code_editor.cpp')
| -rw-r--r-- | editor/code_editor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/code_editor.cpp b/editor/code_editor.cpp index 8cc117d28..0e77d2097 100644 --- a/editor/code_editor.cpp +++ b/editor/code_editor.cpp @@ -367,7 +367,7 @@ void FindReplaceBar::_show_search() { if (!get_search_text().empty()) { search_text->select_all(); - search_text->set_cursor_pos(search_text->get_text().length()); + search_text->set_cursor_position(search_text->get_text().length()); search_current(); } } |
