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