diff options
author | lupoDharkael <izhe@hotmail.es> | 2019-10-14 13:59:26 +0200 |
---|---|---|
committer | lupoDharkael <izhe@hotmail.es> | 2019-10-14 13:59:26 +0200 |
commit | 6f32fc68e47bf2fe50a1098ba418c9169d527d2c (patch) | |
tree | bf4f1752486b4d162578858cc3ce418c9ec8cc37 | |
parent | 1fed266bf5452b30376db62495f4985f6975f2c1 (diff) |
Code editor: select next occurrence after Replace
-rw-r--r-- | editor/code_editor.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/editor/code_editor.cpp b/editor/code_editor.cpp index 4c31797c50..1a821ddd02 100644 --- a/editor/code_editor.cpp +++ b/editor/code_editor.cpp @@ -191,7 +191,9 @@ void FindReplaceBar::_replace() { results_count = -1; } - search_current(); + if (!search_current()) { + search_next(); + } } void FindReplaceBar::_replace_all() { |