Open core-ai-bot opened 3 years ago
Comment by njx Thursday Mar 06, 2014 at 01:04 GMT
ST and Ace have the same behavior, so I'm inclined to call this "as designed". But I agree it seems weird.
Comment by RaymondLim Thursday Mar 06, 2014 at 01:05 GMT
Not exactly. ST seems to work correctly for the first time you switch direction, but if you switch one more time, then it gets confused too.
Update: I'm ok to call it as designed if this is going to be hard to get it right.
Comment by njx Thursday Mar 06, 2014 at 01:20 GMT
Ah, okay. I was looking at a different case, where the cursors started out misaligned.
I wonder if we should just go ahead and fix it generally - basically, the rule would be that we shouldn't add a cursor onto a line that already has a cursor or selection on it. I'm not sure if there's some common use of this that that would break, but since I think the primary use case for it is just quickly creating a vertical cursor selection from the keyboard, it seems like that ought to be okay.
Comment by njx Thursday Mar 06, 2014 at 23:23 GMT
Decided to leave this open as a low-pri bug for now and wait for user feedback to see if we need to fix it.
Comment by njx Thursday Jul 10, 2014 at 16:20 GMT
Issue by RaymondLim Thursday Mar 06, 2014 at 01:02 GMT Originally opened as https://github.com/adobe/brackets/issues/7100
<p>
tag since the line is shorter.Result: You will see two new cursors -- one on line 23 in the same column as the first cursor you set in step 2 and another one on line 21 in the same column as the cursor on line 20. Expected: Should not add another cursor if the line is already in the selection.