Interface: Operation

PSPDFKit.Operation

Describes an operation within a text comparison.

Properties:
Name Type Description
type 'insert' | 'delete' | 'equal'

The type of operation.

text string

The text involved in the operation.

originalTextBlocks PSPDFKit.TextBlock

The text blocks from the original document.

changedTextBlocks PSPDFKit.TextBlock

The text blocks from the changed document.