EA-72528 - IOOBE: LineSet.checkLineIndex

This commit is contained in:
Aleksey Pivovarov
2015-09-04 14:43:25 +03:00
parent 3129f0d22f
commit ac370231fc
@@ -752,6 +752,7 @@ public class LineStatusTracker {
private void markLinesUnchanged(int startLine, int endLine) {
if (myDocument.getTextLength() == 0) return; // empty document has no lines
if (startLine == endLine) return;
((DocumentImpl)myDocument).clearLineModificationFlags(startLine, endLine);
}