Adding insertSnippet to TextEditor extension API.

This commit is contained in:
Joel Day
2016-12-16 00:50:35 -08:00
parent 2d1f793ff7
commit 38a3a1a239
6 changed files with 52 additions and 2 deletions

View File

@@ -137,6 +137,7 @@ export abstract class MainThreadEditorsShape {
$tryRevealRange(id: string, range: editorCommon.IRange, revealType: TextEditorRevealType): TPromise<any> { throw ni(); }
$trySetSelections(id: string, selections: editorCommon.ISelection[]): TPromise<any> { throw ni(); }
$tryApplyEdits(id: string, modelVersionId: number, edits: editorCommon.ISingleEditOperation[], opts: IApplyEditsOptions): TPromise<boolean> { throw ni(); }
$tryInsertSnippet(id: string, template: string, posOrRange: editorCommon.IPosition | editorCommon.IRange): TPromise<boolean> { throw ni(); }
}
export abstract class MainThreadTreeExplorersShape {