Merge remote branch 'origin/master'

This commit is contained in:
irengrig
2012-07-20 18:27:35 +04:00
2 changed files with 1179 additions and 1197 deletions
@@ -151,6 +151,12 @@ public class CommentByBlockCommentHandler implements CodeInsightActionHandler {
else if (selectionModel.hasSelection()) {
int selectionStart = selectionModel.getSelectionStart();
int selectionEnd = selectionModel.getSelectionEnd();
if (commenter instanceof IndentedCommenter) {
final Boolean value = ((IndentedCommenter)commenter).forceIndentedLineComment();
if (value != null && value == Boolean.TRUE) {
selectionStart = myDocument.getLineStartOffset(myDocument.getLineNumber(selectionStart));
}
}
commentRange(selectionStart, selectionEnd, prefix, suffix, commenter);
}
else {
File diff suppressed because it is too large Load Diff