mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
ea-26220
This commit is contained in:
@@ -81,11 +81,13 @@ public class RangeMarkerImpl extends UserDataHolderBase implements RangeMarkerEx
|
||||
}
|
||||
|
||||
public int getStartOffset() {
|
||||
return intervalStart() + (myNode == null ? 0 : myNode.computeDeltaUpToRoot());
|
||||
RangeMarkerTree.RMNode node = myNode;
|
||||
return intervalStart() + (node == null ? 0 : node.computeDeltaUpToRoot());
|
||||
}
|
||||
|
||||
public int getEndOffset() {
|
||||
return intervalEnd() + (myNode == null ? 0 : myNode.computeDeltaUpToRoot());
|
||||
RangeMarkerTree.RMNode node = myNode;
|
||||
return intervalEnd() + (node == null ? 0 : node.computeDeltaUpToRoot());
|
||||
}
|
||||
|
||||
public void invalidate() {
|
||||
|
||||
Reference in New Issue
Block a user