mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-24 10:38:59 +01:00
also send isDirty-flag when forwarding model changes, #11339
This commit is contained in:
@@ -199,8 +199,9 @@ export class ExtHostDocuments extends ExtHostDocumentsShape {
|
||||
data.dispose();
|
||||
}
|
||||
|
||||
public $acceptModelChanged(strURL: string, events: editorCommon.IModelContentChangedEvent2[]): void {
|
||||
public $acceptModelChanged(strURL: string, events: editorCommon.IModelContentChangedEvent2[], isDirty: boolean): void {
|
||||
let data = this._documentData[strURL];
|
||||
data._acceptIsDirty(isDirty);
|
||||
data.onEvents(events);
|
||||
this._onDidChangeDocumentEventEmitter.fire({
|
||||
document: data.document,
|
||||
|
||||
Reference in New Issue
Block a user