Author Topic: Multi-cursor doesn't deselect blocks properly.  (Read 945 times)

jporkkahtc

  • Senior Community Member
  • Posts: 2620
  • Hero Points: 210
  • Text
Multi-cursor doesn't deselect blocks properly.
« on: January 22, 2021, 11:25:06 PM »
SlickEdit Pro 2020 (v25.0.1.0 64-bit)
Go to the top of a file.
Shift select+Down to select several lines.
Ctrl+Shift+| to add multiple cursors.

#1: Press END: Now the top line is deselected, but the other lines remain selected.

#2: Also, pressing END again toggles the last cursor to line up with the first one, or be at the end of its line.
#2b: Interesting ... actually pressing end again toggles the 1st and last cursors to line up with the longest line in the selection, or stay at the end of their respective lines.

Once you clear the selection (Say, by pressing left or right arrows), END toggles the position of all the cursors.


#3: Set multiple cursors as above
Press HOME: Properly deselects, but keeps multiple cursors.
Shift+Right a few times: Selects a few characters on each line
END: First and last line cursors toggle positions as described above.


Dennis

  • Senior Community Member
  • Posts: 3961
  • Hero Points: 517
Re: Multi-cursor doesn't deselect blocks properly.
« Reply #1 on: January 23, 2021, 01:37:41 AM »
These things will be fixed in a future hot fix for 25.0.1.  Thanks for pointing out these problems.

1) fixed
2) Actually, it toggles to align on the longest line.
2b) as designed
3) same fix

jporkkahtc

  • Senior Community Member
  • Posts: 2620
  • Hero Points: 210
  • Text
Re: Multi-cursor doesn't deselect blocks properly.
« Reply #2 on: January 23, 2021, 09:47:03 PM »
WRT toggling: Shouldn't it toggle all lines, not just first and last?
Toggle all lines: Cool!

Dennis

  • Senior Community Member
  • Posts: 3961
  • Hero Points: 517
Re: Multi-cursor doesn't deselect blocks properly.
« Reply #3 on: January 25, 2021, 03:11:58 PM »
The intention is to toggle all lines containing cursors between the furthest right column and the physical line end.  It's more intricate than that though.  If you go to Tools > Options... > Keyboard and Mouse > Redefine Common Keys, there are several options for how the End key should behave including how to handle lines that have trailing whitespace.

Either way, I recommend we table this until you have hot fix 2.  I do not have a timeframe for when hotfix 2 will be published.