Rezi
    Preparing search index...

    Class UndoStack

    Undo stack manager.

    Index

    Constructors

    Methods

    • Pop and return the last redoable action.

      Returns
          | Readonly<
              {
                  range: EditorSelection;
                  text: string;
                  timestamp: number;
                  type: "delete"
                  | "replace"
                  | "insert";
              },
          >
          | null

    • Pop and return the last undoable action.

      Returns
          | Readonly<
              {
                  range: EditorSelection;
                  text: string;
                  timestamp: number;
                  type: "delete"
                  | "replace"
                  | "insert";
              },
          >
          | null