Edit the text of a
TextShape. Undoing sets the text back to the original value.
If this operation immediately follows anSee more
AddShapeOperationfor the exact same text shape, and
originalTextis empty, then this operation declines to be added to the undo stack and instead causes the
AddShapeOperationto simply add the shape with the new text value. This means that we avoid having an “add empty text shape” operation in the undo stack.
public struct EditTextOperation : DrawingOperation