Merge remote-tracking branch 'origin/master' rubymine/138.1466
authorVladimir.Orlov <Vladimir.Orlov@jetbrains.com>
Mon, 4 Aug 2014 10:17:14 +0000 (14:17 +0400)
committerVladimir.Orlov <Vladimir.Orlov@jetbrains.com>
Mon, 4 Aug 2014 10:17:14 +0000 (14:17 +0400)
platform/lang-impl/src/com/intellij/find/impl/FindDialog.java

index 4c21ddbefeb4684a105b721d9c8be5f8ced7b6e8..83d0131565b790748e2dfdcd60824fb33b839505 100644 (file)
@@ -1084,7 +1084,7 @@ public class FindDialog extends DialogWrapper {
     if (myModel.isInCommentsOnly()) searchContext = FindBundle.message("find.context.in.comments.scope.label");
     else if (myModel.isInStringLiteralsOnly()) searchContext = FindBundle.message("find.context.in.literals.scope.label");
     else if (myModel.isExceptStringLiterals()) searchContext = FindBundle.message("find.context.except.literals.scope.label");
-    else if (myModel.isExceptComments()) searchContext = FindBundle.message("find.context.except.literals.scope.label");
+    else if (myModel.isExceptComments()) searchContext = FindBundle.message("find.context.except.comments.scope.label");
     else if (myModel.isExceptCommentsAndStringLiterals()) searchContext = FindBundle.message("find.context.except.comments.and.literals.scope.label");
     mySearchContext.setSelectedItem(searchContext);