|
|
|
@ -9,6 +9,7 @@ export class Command {
|
|
|
|
public executeSelectAll: CommandAdapt['selectAll']
|
|
|
|
public executeSelectAll: CommandAdapt['selectAll']
|
|
|
|
public executeBackspace: CommandAdapt['backspace']
|
|
|
|
public executeBackspace: CommandAdapt['backspace']
|
|
|
|
public executeSetRange: CommandAdapt['setRange']
|
|
|
|
public executeSetRange: CommandAdapt['setRange']
|
|
|
|
|
|
|
|
public executeForceUpdate: CommandAdapt['forceUpdate']
|
|
|
|
public executeUndo: CommandAdapt['undo']
|
|
|
|
public executeUndo: CommandAdapt['undo']
|
|
|
|
public executeRedo: CommandAdapt['redo']
|
|
|
|
public executeRedo: CommandAdapt['redo']
|
|
|
|
public executePainter: CommandAdapt['painter']
|
|
|
|
public executePainter: CommandAdapt['painter']
|
|
|
|
@ -103,6 +104,7 @@ export class Command {
|
|
|
|
this.executeSelectAll = adapt.selectAll.bind(adapt)
|
|
|
|
this.executeSelectAll = adapt.selectAll.bind(adapt)
|
|
|
|
this.executeBackspace = adapt.backspace.bind(adapt)
|
|
|
|
this.executeBackspace = adapt.backspace.bind(adapt)
|
|
|
|
this.executeSetRange = adapt.setRange.bind(adapt)
|
|
|
|
this.executeSetRange = adapt.setRange.bind(adapt)
|
|
|
|
|
|
|
|
this.executeForceUpdate = adapt.forceUpdate.bind(adapt)
|
|
|
|
// 撤销、重做、格式刷、清除格式
|
|
|
|
// 撤销、重做、格式刷、清除格式
|
|
|
|
this.executeUndo = adapt.undo.bind(adapt)
|
|
|
|
this.executeUndo = adapt.undo.bind(adapt)
|
|
|
|
this.executeRedo = adapt.redo.bind(adapt)
|
|
|
|
this.executeRedo = adapt.redo.bind(adapt)
|
|
|
|
|