Skip to content

Commit cb8f0bb

Browse files
author
aiday-mar
committed
Registering the widget and the provider
1 parent 7f17834 commit cb8f0bb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ export class StickyScrollController extends Disposable implements IEditorContrib
3333
this._stickyLineCandidateProvider = new StickyLineCandidateProvider(this._editor, _languageFeaturesService);
3434
this._widgetState = new StickyScrollWidgetState([], 0);
3535

36+
this._register(this._stickyScrollWidget);
37+
this._register(this._stickyLineCandidateProvider);
3638
this._register(this._editor.onDidChangeConfiguration(e => {
3739
if (e.hasChanged(EditorOption.stickyScroll)) {
3840
this.readConfiguration();

0 commit comments

Comments
 (0)