This commit is contained in:
Dmitry Avdeev
2014-10-16 18:49:27 +04:00
parent 9670523a01
commit a4cdee5220
@@ -535,7 +535,7 @@ public class CommentByBlockCommentHandler extends MultiCaretCodeInsightActionHan
final int offset = range.getStartOffset();
final IntArrayList toReplaceWithComments = new IntArrayList();
final IntArrayList prefixes = new IntArrayList();
if (range.getLength() < 0) return; // TODO: reproduce and fix this case
final String text = document.getCharsSequence().subSequence(range.getStartOffset(), range.getEndOffset()).toString();
final String commentedPrefix = commenter.getCommentedBlockCommentPrefix();
final String commentedSuffix = commenter.getCommentedBlockCommentSuffix();