onDidChangeSelectedNotebooks property
Event
get
onDidChangeSelectedNotebooks
An event that fires whenever a controller has been selected or un-selected for a notebook document.
There can be multiple controllers for a notebook and in that case a controllers needs to be selected. This is a user gesture and happens either explicitly or implicitly when interacting with a notebook for which a controller was suggested. When possible, the editor suggests a controller that is most likely to be selected.
Note that controller selection is persisted (by the controllers {@link NotebookController.idid}) and restored as soon as a controller is re-created or as a notebook is {@link workspace.onDidOpenNotebookDocumentopened}.
Implementation
_i3.Event<_i2.dynamic> get onDidChangeSelectedNotebooks => _i5.getProperty(
this,
'onDidChangeSelectedNotebooks',
);