1724
return [];
1725
}
1727
>
try {
1728
>
this._deltaDecorationCallCnt++;
1729
>
if (this._deltaDecorationCallCnt > 1) {
1730
console.warn(`Invoking deltaDecorations recursively could lead to leaking decorations.`);
1731
onUnexpectedError(new Error(`Invoking deltaDecorations recursively could lead to leaking decorations.`));
1732
}
1733
>
this._onDidChangeDecorations.beginDeferredEmit();
textModel.ts
1734
>
return this._deltaDecorationsImpl(ownerId, oldDecorations, newDecorations);
1735
>
} finally {
1736
>
this._onDidChangeDecorations.endDeferredEmit();
1737
>
this._deltaDecorationCallCnt--;
1738
>
}
1739
}
1740