ContentEditingEdit

abstract class ContentEditingEdit(@IntRange(from = 0) pageIndex: Int = 0, val textBlockId: String) : PageEdit

Base class for all content editing undo/redo actions. All edits need the id of the affected text block and also the pageIndex on which the edit happened, so that we can scroll there, if required.

Parameters

pageIndex

The zero-based index of the page containing the text block.

Inheritors

Constructors

Link copied to clipboard
constructor(@IntRange(from = 0) pageIndex: Int = 0, textBlockId: String)

Properties

Link copied to clipboard

The unique identifier of the text block being edited.