mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-22 09:38:38 +01:00
Support toolbar in notebook outline pane entries (#207498)
* relocate toggle action, fix toggle verbage, more generic section args * support toolbar in outline pane entries * unused imports slipped in with the merge * css class name fix * folding action support + css fix * better typeguard fn
This commit is contained in:
@@ -177,6 +177,8 @@ export class NotebookViewModel extends Disposable implements EditorFoldingStateD
|
||||
private readonly _instanceId: string;
|
||||
public readonly id: string;
|
||||
private _foldingRanges: FoldingRegions | null = null;
|
||||
private _onDidFoldingStateChanged = new Emitter<void>();
|
||||
onDidFoldingStateChanged: Event<void> = this._onDidFoldingStateChanged.event;
|
||||
private _hiddenRanges: ICellRange[] = [];
|
||||
private _focused: boolean = true;
|
||||
|
||||
@@ -470,6 +472,7 @@ export class NotebookViewModel extends Disposable implements EditorFoldingStateD
|
||||
|
||||
if (updateHiddenAreas || k < this._hiddenRanges.length) {
|
||||
this._hiddenRanges = newHiddenAreas;
|
||||
this._onDidFoldingStateChanged.fire();
|
||||
}
|
||||
|
||||
this._viewCells.forEach(cell => {
|
||||
|
||||
Reference in New Issue
Block a user