mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
revert to the old method name
This commit is contained in:
@@ -274,7 +274,7 @@ public class EditorSearchSession implements SearchSession,
|
||||
updateResults(true);
|
||||
}
|
||||
else {
|
||||
clearSearchResults();
|
||||
nothingToSearchFor();
|
||||
}
|
||||
updateMultiLineStateIfNeed();
|
||||
}
|
||||
@@ -378,7 +378,7 @@ public class EditorSearchSession implements SearchSession,
|
||||
private void updateResults(final boolean allowedToChangedEditorSelection) {
|
||||
final String text = myFindModel.getStringToFind();
|
||||
if (text.length() == 0) {
|
||||
clearSearchResults();
|
||||
nothingToSearchFor();
|
||||
}
|
||||
else {
|
||||
|
||||
@@ -411,7 +411,7 @@ public class EditorSearchSession implements SearchSession,
|
||||
}
|
||||
}
|
||||
|
||||
private void clearSearchResults() {
|
||||
private void nothingToSearchFor() {
|
||||
updateUIWithEmptyResults();
|
||||
if (mySearchResults != null) {
|
||||
mySearchResults.clear();
|
||||
|
||||
Reference in New Issue
Block a user