Line number or text in blockinfo?

I am writing custom gutter in which I want to get the current line’s text (value) or the current line number (using which I can get text value from view). In the lineMarker function we get view and blockInfo as params, none of which has this info.
How can I access line number or line text in lineMarker or get it from blockInfo?

I think I got it from

lineMarker(view, line) {

1 Like

Thank you for posting this! I was wondering the same thing.