Can you change it so the `lineForRow` calls are consistent? Right now it uses `editor.buffer.lineForRow` and `buffer.lineForRow`.

You could use `editor.lineForBufferRow` if you wanted.