-
Text engine associated with this undo task
Declaration
Swift
public private(set) weak var textEngine: TextEngineType? { get }
-
Position of caret to place when operation is undone
Declaration
Swift
public let beforeCaret: Caret
-
Range of text that was removed.
Must always have
length > 0
.Declaration
Swift
public let deletedRange: Text.TextRange
-
Text string that was deleted
Declaration
Swift
public let text: String
-
Undocumented
Declaration
Swift
public init(textEngine: TextEngineType, beforeCaret: Caret, deletedRange: Text.TextRange, text: String)
-
Declaration
Swift
public func clear()
-
Declaration
Swift
public func undo()
-
Declaration
Swift
public func redo()
-
Declaration
Swift
public func getDescription() -> String