How do you iterate over visible editor lines?

You should be able to use lineBlockAtHeight to find the lines at the top and bottom of the scrollable element.

1 Like