First off, thanks for CodeMirror it’s one of the best open-source projects around. I’m constantly pushing my manager to support this project.
I searched around the site for this issue but didn’t see anything relating to line widgets.
https://github.com/digitalreasoning/AnnoMirror (Refer to the picture in the readme)
In that project ^^ i’m using line widgets to display annotations above certain character offsets. Now if I enable line wrapping i’m seeing that the line widget stays above the line even if it’s wrapped.
Therefore i’m curious how difficult would it be for me to implement a solution that allows a line widget to remain above it’s portion of the wrapped line. To clarify in the picture, I want the VBG annotation to display below “alice” but above “sitting”. If anyone has any insight or better idea how to solve this problem please let me know.