diff options
author | Ignacio Etcheverry <ignalfonsore@gmail.com> | 2016-05-30 18:15:41 +0200 |
---|---|---|
committer | Ignacio Etcheverry <ignalfonsore@gmail.com> | 2016-05-30 18:15:41 +0200 |
commit | 7e4c58c56331f0a6f98c9ac950135041d8578f97 (patch) | |
tree | 9a769227cab3a387151fb5403aff54d4f6cd7cb0 /scene/gui | |
parent | c7d24b7814b335fb9503f6a957ac5923a47da161 (diff) |
Fixed and improved search bar
- Search no longer selects the results
- Return focus to the text editor when hiding the bar
- Fix connecting to invalid signal
- Update/redraw the text editor after searching
Diffstat (limited to 'scene/gui')
-rw-r--r-- | scene/gui/text_edit.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/gui/text_edit.cpp b/scene/gui/text_edit.cpp index ceb40925ec..fd6e97d33f 100644 --- a/scene/gui/text_edit.cpp +++ b/scene/gui/text_edit.cpp @@ -3554,6 +3554,7 @@ void TextEdit::set_search_flags(uint32_t p_flags) { void TextEdit::set_current_search_result(int line, int col) { search_result_line = line; search_result_col = col; + update(); } void TextEdit::set_highlight_all_occurrences(const bool p_enabled) { |