Content Editing Native Change Edit
class ContentEditingNativeChangeEdit(pageIndex: Int, textBlockId: String, undoData: UndoData, redoData: UndoData, val externalControlState: ExternalControlState, deleted: Boolean? = null) : ContentEditingEdit
Any content changes made by the NativeContentEditor (which is text-change and change of style (font, textcolor, textsize)) can simply be un-/redone by calling NativeContentEditingCommand.RESTORE with a specific HistoryIndex and the id of the textblock. Additionally the isDeleted flag of the textblock is by this class, too (since deletion of a textblock always goes in context with deleting all the block's text).
Parameters
page Index
The zero-based index of the page containing the text block.
text Block Id
The unique identifier of the text block.
undo Data
The data needed to restore the text block to its previous state.
redo Data
The data needed to restore the text block to its new state.
deleted
Whether the text block was deleted, or null if deletion state was not changed.