@@ -20,7 +20,7 @@ import { CancellationToken } from 'vs/base/common/cancellation';
20
20
import { NotebookOutlineEntryFactory } from 'vs/workbench/contrib/notebook/browser/viewModel/notebookOutlineEntryFactory' ;
21
21
22
22
export class NotebookCellOutlineProvider {
23
- private readonly _dispoables = new DisposableStore ( ) ;
23
+ private readonly _disposables = new DisposableStore ( ) ;
24
24
private readonly _onDidChange = new Emitter < OutlineChangeEvent > ( ) ;
25
25
26
26
readonly onDidChange : Event < OutlineChangeEvent > = this . _onDidChange . event ;
@@ -54,7 +54,7 @@ export class NotebookCellOutlineProvider {
54
54
this . _outlineEntryFactory = new NotebookOutlineEntryFactory ( notebookExecutionStateService ) ;
55
55
56
56
const selectionListener = new MutableDisposable ( ) ;
57
- this . _dispoables . add ( selectionListener ) ;
57
+ this . _disposables . add ( selectionListener ) ;
58
58
59
59
selectionListener . value = combinedDisposable (
60
60
Event . debounce < void , void > (
@@ -69,7 +69,7 @@ export class NotebookCellOutlineProvider {
69
69
) ( this . _recomputeState , this )
70
70
) ;
71
71
72
- this . _dispoables . add ( _configurationService . onDidChangeConfiguration ( e => {
72
+ this . _disposables . add ( _configurationService . onDidChangeConfiguration ( e => {
73
73
if ( e . affectsConfiguration ( NotebookSetting . outlineShowMarkdownHeadersOnly ) ||
74
74
e . affectsConfiguration ( NotebookSetting . outlineShowCodeCells ) ||
75
75
e . affectsConfiguration ( NotebookSetting . outlineShowCodeCellSymbols ) ||
@@ -79,11 +79,11 @@ export class NotebookCellOutlineProvider {
79
79
}
80
80
} ) ) ;
81
81
82
- this . _dispoables . add ( themeService . onDidFileIconThemeChange ( ( ) => {
82
+ this . _disposables . add ( themeService . onDidFileIconThemeChange ( ( ) => {
83
83
this . _onDidChange . fire ( { } ) ;
84
84
} ) ) ;
85
85
86
- this . _dispoables . add ( notebookExecutionStateService . onDidChangeExecution ( e => {
86
+ this . _disposables . add ( notebookExecutionStateService . onDidChangeExecution ( e => {
87
87
if ( e . type === NotebookExecutionType . cell && ! ! this . _editor . textModel && e . affectsNotebook ( this . _editor . textModel ?. uri ) ) {
88
88
this . _recomputeState ( ) ;
89
89
}
@@ -96,7 +96,7 @@ export class NotebookCellOutlineProvider {
96
96
this . _entries . length = 0 ;
97
97
this . _activeEntry = undefined ;
98
98
this . _entriesDisposables . dispose ( ) ;
99
- this . _dispoables . dispose ( ) ;
99
+ this . _disposables . dispose ( ) ;
100
100
}
101
101
102
102
init ( ) : void {
0 commit comments