mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
EA-72528 - IOOBE: LineSet.checkLineIndex
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user