highlight speed search result in usage tree

This commit is contained in:
Sergey Ignatov
2016-02-01 15:38:21 +03:00
parent aed885c611
commit ae4b5edbf5
@@ -1,5 +1,5 @@
/*
* Copyright 2000-2015 JetBrains s.r.o.
* Copyright 2000-2016 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -151,7 +151,7 @@ class UsageViewTreeCellRenderer extends ColoredTreeCellRenderer {
for (int i = 0; i < text.length; i++) {
TextChunk textChunk = text[i];
SimpleTextAttributes simples = textChunk.getSimpleAttributesIgnoreBackground();
append(textChunk.getText() + (i == 0 ? " " : ""), patchAttrs(node, simples));
append(textChunk.getText() + (i == 0 ? " " : ""), patchAttrs(node, simples), true);
}
}
}