Style blank lines with addOverlay()

Hi, I’d like to style (set different background color) for all blank lines in the document. Is it possible to achieve this with addOverlay method?
Thanks,
iztok

No, you can’t style blank lines with modes or overlays. You’ll have to use a plugin that uses addLineClass to maintain the classes on the blank lines.

1 Like