Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Utilities
Kate
Commits
76a71f48
Commit
76a71f48
authored
Jan 10, 2022
by
Waqar Ahmed
Committed by
Christoph Cullmann
Jan 15, 2022
Browse files
Clear highlights if text field becomes empty
BUG: 436674
parent
6a675e58
Changes
1
Hide whitespace changes
Inline
Side-by-side
addons/search/plugin_search.cpp
View file @
76a71f48
...
...
@@ -915,6 +915,7 @@ void KatePluginSearchView::startSearch()
if
(
m_ui
.
searchCombo
->
currentText
().
isEmpty
())
{
// return pressed in the folder combo or filter combo
clearMarksAndRanges
();
return
;
}
...
...
@@ -1102,6 +1103,7 @@ void KatePluginSearchView::startSearchWhileTyping()
// Do not clear the search results if you press up by mistake
if
(
currentSearchText
.
isEmpty
())
{
clearMarksAndRanges
();
return
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment