recordEditAction(in:newTextRange:)
Records information about an edit action to the transaction.
Declaration
func recordEditAction(in originalTextRange: NSTextRange, newTextRange: NSTextRange)Parameters
- originalTextRange:
The range before the action.
- newTextRange:
The corresponding range after the action.
Discussion
The concrete subclass invokes this method for each edit action.