Hi. Is there a possibility to add ruler (vertical line) in v6? In v5 it’s possible. Didn’t find anything similar in the documentation.
That’s not part of the library for 6.x, but the way you’d implement it would be something like this:
Create a view plugin that adds an absolutely positioned element to
view.scrollDOM. Give it some kind of left border so that it’s visible
On init, and whenever the plugin gets an update that has the
heightChangedflag set, set the element’s
leftto X *
view.defaultCharacterWidth, and its