提交 5b41b67f 编写于 作者: P pi1024e

Update codelens.ts

上级 db0fb198
......@@ -22,14 +22,14 @@ export class CodeLensModel {
lenses: CodeLensItem[] = [];
private readonly _dispoables = new DisposableStore();
private readonly disposables = new DisposableStore();
dispose(): void {
this._dispoables.dispose();
this.disposables.dispose();
}
add(list: CodeLensList, provider: CodeLensProvider): void {
this._dispoables.add(list);
this.disposables.add(list);
for (const symbol of list.lenses) {
this.lenses.push({ symbol, provider });
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册