File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
src/vs/workbench/contrib/notebook/browser/view/cellParts Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -137,7 +137,6 @@ export class CodeCell extends Disposable {
137
137
this . _register ( Event . runAndSubscribe ( viewCell . onDidChangeLayout , this . updateForLayout . bind ( this ) ) ) ;
138
138
139
139
this . _cellEditorOptions . setLineNumbers ( this . viewCell . lineNumbers ) ;
140
- this . _register ( this . _cellEditorOptions . onDidChange ( ( ) => this . updateCodeCellOptions ( templateData ) ) ) ;
141
140
templateData . editor . updateOptions ( this . _cellEditorOptions . getUpdatedValue ( this . viewCell . internalMetadata , this . viewCell . uri ) ) ;
142
141
}
143
142
@@ -231,6 +230,8 @@ export class CodeCell extends Disposable {
231
230
232
231
focusEditorIfNeeded ( ) ;
233
232
}
233
+
234
+ this . _register ( this . _cellEditorOptions . onDidChange ( ( ) => this . updateCodeCellOptions ( this . templateData ) ) ) ;
234
235
} ) ;
235
236
}
236
237
You can’t perform that action at this time.
0 commit comments