isDeleted

fun isDeleted(forUndo: Boolean): Boolean?

Returns whether the text block was deleted for undo or redo operations.

Return

Whether the text block is deleted after this operation, or null if deletion state was not changed.

Parameters

forUndo

If true, returns the inverse of the deleted state (for undo); if false, returns the deleted state (for redo).