I know I can get a single line doing this:
editor.document.lineAt(editor.selection.active.line).text
But I'm wondering how to do the equivalent when I have multiple cursors. I haven't found any reference to multiline cursors in the API docs.
I know I can get a single line doing this:
editor.document.lineAt(editor.selection.active.line).text
But I'm wondering how to do the equivalent when I have multiple cursors. I haven't found any reference to multiline cursors in the API docs.