Skip to content

Commit 10b819f

Browse files
authored
Fix typo from old code (microsoft#209557)
fix long standing typo
1 parent 7a623b3 commit 10b819f

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/vs/workbench/contrib/notebook/browser/viewModel/notebookOutlineProvider.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import { CancellationToken } from 'vs/base/common/cancellation';
2020
import { NotebookOutlineEntryFactory } from 'vs/workbench/contrib/notebook/browser/viewModel/notebookOutlineEntryFactory';
2121

2222
export class NotebookCellOutlineProvider {
23-
private readonly _dispoables = new DisposableStore();
23+
private readonly _disposables = new DisposableStore();
2424
private readonly _onDidChange = new Emitter<OutlineChangeEvent>();
2525

2626
readonly onDidChange: Event<OutlineChangeEvent> = this._onDidChange.event;
@@ -54,7 +54,7 @@ export class NotebookCellOutlineProvider {
5454
this._outlineEntryFactory = new NotebookOutlineEntryFactory(notebookExecutionStateService);
5555

5656
const selectionListener = new MutableDisposable();
57-
this._dispoables.add(selectionListener);
57+
this._disposables.add(selectionListener);
5858

5959
selectionListener.value = combinedDisposable(
6060
Event.debounce<void, void>(
@@ -69,7 +69,7 @@ export class NotebookCellOutlineProvider {
6969
)(this._recomputeState, this)
7070
);
7171

72-
this._dispoables.add(_configurationService.onDidChangeConfiguration(e => {
72+
this._disposables.add(_configurationService.onDidChangeConfiguration(e => {
7373
if (e.affectsConfiguration(NotebookSetting.outlineShowMarkdownHeadersOnly) ||
7474
e.affectsConfiguration(NotebookSetting.outlineShowCodeCells) ||
7575
e.affectsConfiguration(NotebookSetting.outlineShowCodeCellSymbols) ||
@@ -79,11 +79,11 @@ export class NotebookCellOutlineProvider {
7979
}
8080
}));
8181

82-
this._dispoables.add(themeService.onDidFileIconThemeChange(() => {
82+
this._disposables.add(themeService.onDidFileIconThemeChange(() => {
8383
this._onDidChange.fire({});
8484
}));
8585

86-
this._dispoables.add(notebookExecutionStateService.onDidChangeExecution(e => {
86+
this._disposables.add(notebookExecutionStateService.onDidChangeExecution(e => {
8787
if (e.type === NotebookExecutionType.cell && !!this._editor.textModel && e.affectsNotebook(this._editor.textModel?.uri)) {
8888
this._recomputeState();
8989
}
@@ -96,7 +96,7 @@ export class NotebookCellOutlineProvider {
9696
this._entries.length = 0;
9797
this._activeEntry = undefined;
9898
this._entriesDisposables.dispose();
99-
this._dispoables.dispose();
99+
this._disposables.dispose();
100100
}
101101

102102
init(): void {

0 commit comments

Comments
 (0)