sej
    Preparing search index...

    Class EmptyCommand

    Represents an empty command that extends the functionality of AbstractCommand. This class can be used as a placeholder or base class for other commands.

    It can also be used for serialization and deserialization of commands. Note that the constructor of this class does not take any arguments.

    An empty command should be can always be created from thin air.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    editor: Editor

    Pointer to main editor object used to initialize

    id: number

    Unique id of the command

    inMemory: boolean

    Whether the command is in memory.

    json: undefined | CommandJSON
    name: string

    Human readable name of the command

    type: string

    Type of the command

    updatable: boolean

    Whether the command is updatable.

    If the command is NOT updatable, it's added as a new part of the history

    Methods