From 35c60f3f1a10542f0e1b46003b385e8a72fc9fbf Mon Sep 17 00:00:00 2001 From: Bas Leijdekkers Date: Mon, 3 Sep 2018 09:38:06 +0300 Subject: [PATCH] SSR: text filter label should be "text" --- .../structuralsearch/plugin/ui/filters/TextFilter.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/platform/structuralsearch/source/com/intellij/structuralsearch/plugin/ui/filters/TextFilter.java b/platform/structuralsearch/source/com/intellij/structuralsearch/plugin/ui/filters/TextFilter.java index 52196f800fb1..fb15111e6f51 100644 --- a/platform/structuralsearch/source/com/intellij/structuralsearch/plugin/ui/filters/TextFilter.java +++ b/platform/structuralsearch/source/com/intellij/structuralsearch/plugin/ui/filters/TextFilter.java @@ -62,7 +62,7 @@ public class TextFilter extends FilterAction { private final EditorTextField myTextField = UIUtil.createRegexComponent("", myTable.getProject()); private final JCheckBox myWordsCheckBox = new JCheckBox("Words", false); private final JCheckBox myHierarchyCheckBox = new JCheckBox("Within type hierarchy", false); - private final JLabel myNameLabel = new JLabel("name="); + private final JLabel myTextLabel = new JLabel("text="); private final ContextHelpLabel myHelpLabel = ContextHelpLabel.create("

Text of the match is checked against the provided pattern." + "

Use \"!\" to invert the pattern." + @@ -78,7 +78,7 @@ public class TextFilter extends FilterAction { layout.createParallelGroup() .addGroup( layout.createSequentialGroup() - .addComponent(myNameLabel) + .addComponent(myTextLabel) .addComponent(myTextField) .addPreferredGap(LayoutStyle.ComponentPlacement.RELATED, 1, 1) .addComponent(myHelpLabel) @@ -94,7 +94,7 @@ public class TextFilter extends FilterAction { layout.createSequentialGroup() .addGroup( layout.createParallelGroup(GroupLayout.Alignment.CENTER) - .addComponent(myNameLabel) + .addComponent(myTextLabel) .addComponent(myTextField) .addComponent(myHelpLabel) )