mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-22 17:48:56 +01:00
enable @typescript-eslint/member-delimiter-style, https://github.com/microsoft/vscode/issues/140391
This commit is contained in:
@@ -170,7 +170,7 @@ export class NotebookViewModel extends Disposable implements EditorFoldingStateD
|
||||
}
|
||||
|
||||
private _decorationsTree = new DecorationsTree();
|
||||
private _decorations: { [decorationId: string]: IntervalNode; } = Object.create(null);
|
||||
private _decorations: { [decorationId: string]: IntervalNode } = Object.create(null);
|
||||
private _lastDecorationId: number = 0;
|
||||
private readonly _instanceId: string;
|
||||
public readonly id: string;
|
||||
@@ -748,9 +748,9 @@ export class NotebookViewModel extends Disposable implements EditorFoldingStateD
|
||||
}
|
||||
|
||||
getEditorViewState(): INotebookEditorViewState {
|
||||
const editingCells: { [key: number]: boolean; } = {};
|
||||
const collapsedInputCells: { [key: number]: boolean; } = {};
|
||||
const collapsedOutputCells: { [key: number]: boolean; } = {};
|
||||
const editingCells: { [key: number]: boolean } = {};
|
||||
const collapsedInputCells: { [key: number]: boolean } = {};
|
||||
const collapsedOutputCells: { [key: number]: boolean } = {};
|
||||
|
||||
this._viewCells.forEach((cell, i) => {
|
||||
if (cell.getEditState() === CellEditState.Editing) {
|
||||
@@ -765,7 +765,7 @@ export class NotebookViewModel extends Disposable implements EditorFoldingStateD
|
||||
collapsedOutputCells[i] = true;
|
||||
}
|
||||
});
|
||||
const editorViewStates: { [key: number]: editorCommon.ICodeEditorViewState; } = {};
|
||||
const editorViewStates: { [key: number]: editorCommon.ICodeEditorViewState } = {};
|
||||
this._viewCells.map(cell => ({ handle: cell.model.handle, state: cell.saveEditorViewState() })).forEach((viewState, i) => {
|
||||
if (viewState.state) {
|
||||
editorViewStates[i] = viewState.state;
|
||||
@@ -826,7 +826,7 @@ export class NotebookViewModel extends Disposable implements EditorFoldingStateD
|
||||
|
||||
private _deltaModelDecorationsImpl(oldDecorations: ICellModelDecorations[], newDecorations: ICellModelDeltaDecorations[]): ICellModelDecorations[] {
|
||||
|
||||
const mapping = new Map<number, { cell: CellViewModel; oldDecorations: string[]; newDecorations: IModelDeltaDecoration[]; }>();
|
||||
const mapping = new Map<number, { cell: CellViewModel; oldDecorations: string[]; newDecorations: IModelDeltaDecoration[] }>();
|
||||
oldDecorations.forEach(oldDecoration => {
|
||||
const ownerId = oldDecoration.ownerId;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user