You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The scrollbar annotation doesn't show a match when used with the code folding addon in the following scenarios:
If there is a match on the folded line and there are also matches within the folded content then when the fold is collapsed, we expect at least the match on folded line to be annotated on scrollbar. But it's not.
Matches hidden within a collapsed fold are not annotated on the scrollbar.
I guess technically the second scenario is not a bug but rather just how the AnnotateScrollbar addon works however it's not what I was expecting.
I'm looking into a possible solution however I thought I'd create this issue in case there's already a fix for this or if someone has insights into how it can be fixed.
Codemirror: 5.56.0 Broswer: Google Chrome 84.0.4147.125
The text was updated successfully, but these errors were encountered:
The scrollbar annotation doesn't show a match when used with the code folding addon in the following scenarios:
See Fiddle: https://jsfiddle.net/tokafew420/1exL7kqb/
Expanded

Collapsed

I guess technically the second scenario is not a bug but rather just how the AnnotateScrollbar addon works however it's not what I was expecting.
I'm looking into a possible solution however I thought I'd create this issue in case there's already a fix for this or if someone has insights into how it can be fixed.
Codemirror: 5.56.0
Broswer: Google Chrome 84.0.4147.125
The text was updated successfully, but these errors were encountered: