File tree Expand file tree Collapse file tree
src/vs/workbench/contrib/notebook/browser/viewModel Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -243,7 +243,7 @@ export class NotebookViewModel extends Disposable implements EditorFoldingStateD
243243 public readonly id : string ;
244244 private _foldingRanges : FoldingRegions | null = null ;
245245 private _hiddenRanges : ICellRange [ ] = [ ] ;
246- private _focused : boolean = false ;
246+ private _focused : boolean = true ;
247247
248248 get focused ( ) {
249249 return this . _focused ;
@@ -362,9 +362,9 @@ export class NotebookViewModel extends Disposable implements EditorFoldingStateD
362362 }
363363
364364 updateSelectionsFromEdits ( selections : number [ ] ) {
365- // if (this._focused) {
366- this . selectionHandles = selections ;
367- // }
365+ if ( this . _focused ) {
366+ this . selectionHandles = selections ;
367+ }
368368 }
369369
370370 getFoldingStartIndex ( index : number ) : number {
You can’t perform that action at this time.
0 commit comments