boolean (Couple<RangeMarker> markers, int offset, int oldLength) { RangeMarker leader = markers.first; return leader.isValid() && offset >= leader.getStartOffset() && offset + oldLength <= leader.getEndOffset(); }