Skip to content

Commit 447f054

Browse files
author
aiday-mar
committed
Formatting the stickyScroll.ts file
1 parent fc4e65a commit 447f054

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/vs/editor/contrib/stickyScroll/browser/stickyScroll.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -103,10 +103,10 @@ export class StickyScrollController extends Disposable implements IEditorContrib
103103
this._stickyScrollWidget.setState(this._widgetState);
104104
}
105105

106-
public getScrollWidgetState(): StickyScrollWidgetState {
107-
const lineHeight: number = this.editor.getOption(EditorOption.lineHeight);
108-
const maxNumberStickyLines = this.editor.getOption(EditorOption.experimental).stickyScroll.maxLineCount;
109-
const scrollTop: number = this.editor.getScrollTop();
106+
public getScrollWidgetState(): StickyScrollWidgetState {
107+
const lineHeight: number = this._editor.getOption(EditorOption.lineHeight);
108+
const maxNumberStickyLines = this._editor.getOption(EditorOption.experimental).stickyScroll.maxLineCount;
109+
const scrollTop: number = this._editor.getScrollTop();
110110
let lastLineRelativePosition: number = 0;
111111
const lineNumbers: number[] = [];
112112
const arrayVisibleRanges = this._editor.getVisibleRanges();

0 commit comments

Comments
 (0)