Nutrient Web SDK
    Preparing search index...

    Type Alias Operation

    Describes an operation within a text comparison.

    type Operation = {
        changedTextBlocks: DocumentComparison.TextBlock[];
        originalTextBlocks: DocumentComparison.TextBlock[];
        text: string;
        type: "insert" | "delete" | "equal";
    }
    Index

    Properties

    changedTextBlocks: DocumentComparison.TextBlock[]

    The text blocks from the changed document.

    originalTextBlocks: DocumentComparison.TextBlock[]

    The text blocks from the original document.

    text: string

    The text involved in the operation.

    type: "insert" | "delete" | "equal"

    The type of operation.