mirror of https://gitee.com/godoos/godoos.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
512 B
19 lines
512 B
/// <reference types="./types" />
|
|
declare class Undo {
|
|
private stackSize;
|
|
private dmp;
|
|
private wysiwyg;
|
|
private ir;
|
|
private sv;
|
|
constructor();
|
|
clearStack(vditor: IVditor): void;
|
|
resetIcon(vditor: IVditor): void;
|
|
undo(vditor: IVditor): void;
|
|
redo(vditor: IVditor): void;
|
|
recordFirstPosition(vditor: IVditor, event: KeyboardEvent): void;
|
|
addToUndoStack(vditor: IVditor): void;
|
|
private renderDiff;
|
|
private resetStack;
|
|
private addCaret;
|
|
}
|
|
export { Undo };
|
|
|