Binary Raw - Docs
    Preparing search index...

    Interface EditCommand

    Represents a complete edit command with metadata for undo/redo support.

    interface EditCommand {
        affectedRanges: readonly ByteRange[];
        description: string;
        id: string;
        inverse: EditOperation;
        operation: EditOperation;
        timestamp: number;
    }
    Index

    Properties

    affectedRanges: readonly ByteRange[]

    All byte ranges affected by this operation.

    description: string

    Human-readable description of the change.

    id: string

    Unique identifier for this command.

    inverse: EditOperation

    The inverse operation for undo functionality.

    operation: EditOperation

    The actual operation performed.

    timestamp: number

    Unix timestamp of when the command was created.