Normalise object text in SearchFilter
@@ -179,6 +179,10 @@ public class SearchFilter extends ViewerFilter {
// Name...
if(fFilterName && !textSearchResult && element instanceof INameable) {
String name = StringUtils.safeString(((INameable)element).getName());
+
+ // Normalise in case of multi-line text
+ name = StringUtils.normaliseNewLineCharacters(name);
+
if(name.toLowerCase().contains(fSearchText.toLowerCase())) {
textSearchResult = true;
}
