Binary Raw - Docs
    Preparing search index...

    Interface EditHistory

    Maintains the edit history for undo/redo functionality.

    interface EditHistory {
        commands: readonly EditCommand[];
        currentIndex: number;
        maxSize: number;
        totalBytesAffected: ByteCount;
    }
    Index

    Properties

    commands: readonly EditCommand[]

    List of all executed commands.

    currentIndex: number

    Index of the current position in the command list (-1 = before first).

    maxSize: number

    Maximum number of commands to retain in history.

    totalBytesAffected: ByteCount

    Total number of bytes affected by all commands in history.