revert to the old method name

This commit is contained in:
Dmitry Batrak
2015-12-04 11:00:11 +03:00
parent 8a908f16f3
commit 49d764d322
@@ -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();