|
|
|
@ -9,6 +9,8 @@ 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 executeReplaceRange: CommandAdapt['replaceRange']
|
|
|
|
|
|
|
|
public executeSetPositionContext: CommandAdapt['setPositionContext']
|
|
|
|
public executeForceUpdate: CommandAdapt['forceUpdate']
|
|
|
|
public executeForceUpdate: CommandAdapt['forceUpdate']
|
|
|
|
public executeBlur: CommandAdapt['blur']
|
|
|
|
public executeBlur: CommandAdapt['blur']
|
|
|
|
public executeUndo: CommandAdapt['undo']
|
|
|
|
public executeUndo: CommandAdapt['undo']
|
|
|
|
@ -96,6 +98,7 @@ export class Command {
|
|
|
|
public getRangeContext: CommandAdapt['getRangeContext']
|
|
|
|
public getRangeContext: CommandAdapt['getRangeContext']
|
|
|
|
public getRangeRow: CommandAdapt['getRangeRow']
|
|
|
|
public getRangeRow: CommandAdapt['getRangeRow']
|
|
|
|
public getRangeParagraph: CommandAdapt['getRangeParagraph']
|
|
|
|
public getRangeParagraph: CommandAdapt['getRangeParagraph']
|
|
|
|
|
|
|
|
public getKeywordRangeList: CommandAdapt['getKeywordRangeList']
|
|
|
|
public getPaperMargin: CommandAdapt['getPaperMargin']
|
|
|
|
public getPaperMargin: CommandAdapt['getPaperMargin']
|
|
|
|
public getSearchNavigateInfo: CommandAdapt['getSearchNavigateInfo']
|
|
|
|
public getSearchNavigateInfo: CommandAdapt['getSearchNavigateInfo']
|
|
|
|
public getLocale: CommandAdapt['getLocale']
|
|
|
|
public getLocale: CommandAdapt['getLocale']
|
|
|
|
@ -112,6 +115,8 @@ 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.executeReplaceRange = adapt.replaceRange.bind(adapt)
|
|
|
|
|
|
|
|
this.executeSetPositionContext = adapt.setPositionContext.bind(adapt)
|
|
|
|
this.executeForceUpdate = adapt.forceUpdate.bind(adapt)
|
|
|
|
this.executeForceUpdate = adapt.forceUpdate.bind(adapt)
|
|
|
|
this.executeBlur = adapt.blur.bind(adapt)
|
|
|
|
this.executeBlur = adapt.blur.bind(adapt)
|
|
|
|
// 撤销、重做、格式刷、清除格式
|
|
|
|
// 撤销、重做、格式刷、清除格式
|
|
|
|
@ -204,6 +209,7 @@ export class Command {
|
|
|
|
this.getRangeContext = adapt.getRangeContext.bind(adapt)
|
|
|
|
this.getRangeContext = adapt.getRangeContext.bind(adapt)
|
|
|
|
this.getRangeRow = adapt.getRangeRow.bind(adapt)
|
|
|
|
this.getRangeRow = adapt.getRangeRow.bind(adapt)
|
|
|
|
this.getRangeParagraph = adapt.getRangeParagraph.bind(adapt)
|
|
|
|
this.getRangeParagraph = adapt.getRangeParagraph.bind(adapt)
|
|
|
|
|
|
|
|
this.getKeywordRangeList = adapt.getKeywordRangeList.bind(adapt)
|
|
|
|
this.getCatalog = adapt.getCatalog.bind(adapt)
|
|
|
|
this.getCatalog = adapt.getCatalog.bind(adapt)
|
|
|
|
this.getPaperMargin = adapt.getPaperMargin.bind(adapt)
|
|
|
|
this.getPaperMargin = adapt.getPaperMargin.bind(adapt)
|
|
|
|
this.getSearchNavigateInfo = adapt.getSearchNavigateInfo.bind(adapt)
|
|
|
|
this.getSearchNavigateInfo = adapt.getSearchNavigateInfo.bind(adapt)
|
|
|
|
|