Open new file buffer via API

This commit is contained in:
Benjamin Pasero
2017-01-18 19:13:26 +01:00
parent dbef8f1afe
commit 8b7756063b
6 changed files with 61 additions and 23 deletions

View File

@@ -119,6 +119,7 @@ export abstract class MainThreadDiagnosticsShape {
}
export abstract class MainThreadDocumentsShape {
$tryCreateDocument(options?: { language: string; }): TPromise<any> { throw ni(); }
$tryOpenDocument(uri: URI): TPromise<any> { throw ni(); }
$registerTextContentProvider(handle: number, scheme: string): void { throw ni(); }
$onVirtualDocumentChange(uri: URI, value: string): void { throw ni(); }