File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
src/vs/editor/contrib/stickyScroll/browser Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -103,10 +103,10 @@ export class StickyScrollController extends Disposable implements IEditorContrib
103
103
this . _stickyScrollWidget . setState ( this . _widgetState ) ;
104
104
}
105
105
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 ( ) ;
110
110
let lastLineRelativePosition : number = 0 ;
111
111
const lineNumbers : number [ ] = [ ] ;
112
112
const arrayVisibleRanges = this . _editor . getVisibleRanges ( ) ;
You can’t perform that action at this time.
0 commit comments