mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-24 10:38:59 +01:00
Reduce usage of IRawText (send only what's needed around)
This commit is contained in:
@@ -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: editorCommon.IRawText): void { throw ni(); }
|
||||
$onVirtualDocumentChange(uri: URI, value: editorCommon.ITextSource): void { throw ni(); }
|
||||
$unregisterTextContentProvider(handle: number): void { throw ni(); }
|
||||
$trySaveDocument(uri: URI): TPromise<boolean> { throw ni(); }
|
||||
}
|
||||
@@ -282,7 +282,8 @@ export abstract class ExtHostDiagnosticsShape {
|
||||
export interface IModelAddedData {
|
||||
url: URI;
|
||||
versionId: number;
|
||||
value: editorCommon.IRawText;
|
||||
lines: string[];
|
||||
EOL: string;
|
||||
modeId: string;
|
||||
isDirty: boolean;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user