CommentByLine Test fixes

This commit is contained in:
Oleg Shpynov
2010-08-03 15:29:34 +04:00
parent 09208962c4
commit c77f71fdae
@@ -224,7 +224,7 @@ public class CommentByLineCommentHandler implements CodeInsightActionHandler {
}
boolean allLineCommented = true;
boolean commentWithIndent = CodeStyleSettingsManager.getSettings(myProject).LINE_COMMENT_AT_FIRST_COLUMN;
boolean commentWithIndent = !CodeStyleSettingsManager.getSettings(myProject).LINE_COMMENT_AT_FIRST_COLUMN;
for (int line = myStartLine; line <= myEndLine; line++) {
Commenter commenter = blockSuitableCommenter != null ? blockSuitableCommenter : findCommenter(line);