diff --git a/platform/lang-impl/src/com/intellij/find/EditorSearchComponent.java b/platform/lang-impl/src/com/intellij/find/EditorSearchComponent.java index 75967cefbf02..da4024ed1147 100644 --- a/platform/lang-impl/src/com/intellij/find/EditorSearchComponent.java +++ b/platform/lang-impl/src/com/intellij/find/EditorSearchComponent.java @@ -208,7 +208,8 @@ public class EditorSearchComponent extends EditorHeaderComponent implements Data } else { setNotFoundBackground(); - myMatchInfoLabel.setText("No matches"); + myMatchInfoLabel.setText("No matches "); + boldMatchInfo(); } } else { @@ -898,7 +899,10 @@ public class EditorSearchComponent extends EditorHeaderComponent implements Data } private void boldMatchInfo() { - myMatchInfoLabel.setFont(myMatchInfoLabel.getFont().deriveFont(Font.BOLD)); + Font font = myMatchInfoLabel.getFont(); + if (!font.isBold()) { + myMatchInfoLabel.setFont(font.deriveFont(Font.BOLD)); + } } private void setRegularBackground() {