RangeMarker (int startOffset, int endOffset, boolean surviveOnExternalChange) { return surviveOnExternalChange ? new PersistentRangeMarker(this, startOffset, endOffset, true) : new RangeMarkerImpl(this, startOffset, endOffset, true, false); }