Clear all decorations on reset

This commit is contained in:
Daniel Imms
2022-05-10 12:32:06 -07:00
parent 6b4df216d3
commit edba006045
4 changed files with 10 additions and 0 deletions
+1
View File
@@ -308,6 +308,7 @@ export interface IDecorationService extends IDisposable {
readonly onDecorationRegistered: IEvent<IInternalDecoration>;
readonly onDecorationRemoved: IEvent<IInternalDecoration>;
registerDecoration(decorationOptions: IDecorationOptions): IDecoration | undefined;
reset(): void;
/** Iterates over the decorations on a line (in no particular order). */
getDecorationsOnLine(line: number): IterableIterator<IInternalDecoration>;
}