ActionChangeRange (boolean invalidate) { AdjustableUndoableAction action = invalidate ? null : myActionReference.get(); return new ActionChangeRangeImpl(myOffset, myOldLength, myNewLength, myOldDocumentLength, myNewDocumentLength, action, myOriginatorId); }