Fix #96914
This commit is contained in:
parent
9f07996c19
commit
64d29b001b
1 changed files with 1 additions and 1 deletions
|
@ -115,7 +115,7 @@ export class MarkerDecorationsService extends Disposable implements IMarkerDecor
|
|||
private _onModelAdded(model: ITextModel): void {
|
||||
const markerDecorations = new MarkerDecorations(model);
|
||||
this._markerDecorations.set(MODEL_ID(model.uri), markerDecorations);
|
||||
markerDecorations.register(model.onDidChangeContent(() => this._updateDecorations(markerDecorations)));
|
||||
markerDecorations.register(Event.debounce(model.onDidChangeContent, () => undefined, 100)(() => this._updateDecorations(markerDecorations)));
|
||||
this._updateDecorations(markerDecorations);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue