Open J-Fields opened 4 years ago
This is also the case for (This no longer exists)visualLineStartColumn
.
We pass around Range
s as "cursors". I'm beginning to think we should make a Cursor
class that's passed around and encapsulates this sort of data...
Probably, this should subclass
vscode.Selection
. The first step is to remove uses of (our)Range
to represent simple ranges within a document - these should usevscode.Range
.The most pressing reason for this is to have a
desiredColumn
per cursor. Put the following into a new document, with|
representing a cursor on lines 1 and 3:Press
e
thenj
; observe that the bottom cursor is in line with the top one