Skip to content
Permalink
Browse files
8261931: IGV: quick search fails on multi-line node labels
Remove line breaks from the 'label' property that is searched on by default.

Reviewed-by: neliasso, xliu, chagedorn
  • Loading branch information
robcasloz committed Mar 11, 2021
1 parent 7988c1d commit f6b4ba073f3074e0f24a129be69a1e70e1097e9f
Showing 1 changed file with 1 addition and 1 deletion.
@@ -279,7 +279,7 @@ public String[] getLines() {
// class NodeQuickSearch in the View module.
for (InputNode n : getSource().getSourceNodes()) {
String label = resolveString(diagram.getNodeText(), n.getProperties());
n.getProperties().setProperty("label", label);
n.getProperties().setProperty("label", label.replaceAll("\\R", " "));
}
}
return lines;

0 comments on commit f6b4ba0

Please sign in to comment.