Author Topic: How can I prevent left click that positions edit cursor from unmarking selection  (Read 3530 times)

ldbader

  • Community Member
  • Posts: 8
  • Hero Points: 0
When I am using the stand-alone SlickEdit with SlickEdit emulation, I am primarily a keyboard user.  When I am using SlickEdit Core for Eclipse, I am primarily a mouse user.  In the latter case, I find it frustrating that when I use a left click to position the cursor in the file, the text I have selected with a line, block, or character mark becomes unmarked.  An copy or move action at that point reports an error:  Text not selected.

How can I prevent a left click that positions the edit cursor from unmarking the selection?


Ryan

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 986
  • Hero Points: 77
Hmm...well, I was going to tell you to uncheck Auto deselect at Window > SlickEdit Preferences > Editing > Selections...but that doesn't appear to be working under the plugin :(.  I will file a bug and see if we can get this fixed for you soon.  Thanks for the report.

- Ryan

ldbader

  • Community Member
  • Posts: 8
  • Hero Points: 0
In stand alone SlickEdit, it works only partially.  If you left click in the same file, the selection remains, but if you switch to a different file (with either next-buffer or clicking the files tab) and left click, the selection is lost.  This makes it very hard to copy or move code between files.  To do it reliably, you must avoid using the mouse.  Use the next-buffer key to switch files and then use the keyboard to move the cursor to your target.   In this case, the selection will remain and you can move or copy the selection.

Note that in SlickEdit core, I want the selection to remain even if I switch files.  I don't want to copy to the clipboard just to move or copy a selection between files.

Thanks for your help.
« Last Edit: March 01, 2013, 06:42:19 pm by ldbader »