use IRawText and compare before pretending things have changed, #18664

This commit is contained in:
Johannes Rieken
2017-01-19 15:29:43 +01:00
parent 631e76f47f
commit 67f4ef013c
3 changed files with 56 additions and 5 deletions

View File

@@ -122,7 +122,7 @@ 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(); }
$onVirtualDocumentChange(uri: URI, value: editorCommon.IRawText): void { throw ni(); }
$unregisterTextContentProvider(handle: number): void { throw ni(); }
$trySaveDocument(uri: URI): TPromise<boolean> { throw ni(); }
}