Wraps up information regarding a text modification.
Slots
- newNumNewlinesSource
-
Int? newNumNewlinesNumber of newlines in newText or zero if no newlines. This field will lazily be calcualted if null.
- newTextSource
-
Str? newTextNew text inserted
- oldNumNewlinesSource
-
Int? oldNumNewlinesNumber of newlines in oldText or zero if no newlines This field will lazily be calcualted if null.
- oldTextSource
-
Str? oldTextOld text which was replaced
- redoSource
-
Void redo(TextWidget widget)Redo this modification on the given widget.
- repaintLenSource
-
Int? repaintLenZero based offset of where repaint should end, or if null then
newText.sizeis assumed. - repaintStartSource
-
Int? repaintStartZero based offset of where repaint should start, or if null then startOffset is assumed.
- startLineSource
-
Int startLineZero based line number of modification
- startOffsetSource
-
Int startOffsetZero based offset of modification
- toStrSource
-
override Str toStr()Overrides sys::Obj.toStr
Doc inherited from sys::Obj.toStr
Return a string representation of this object.
- undoSource
-
Void undo(TextWidget widget)Undo this modification on the given widget.