SlickEdit Community

Archived Beta Discussions => SlickEdit® Core for Eclipse => Topic started by: ldbader on March 01, 2013, 01:49:08 PM

Title: How can I prevent left click that positions edit cursor from unmarking selection
Post by: ldbader on March 01, 2013, 01:49:08 PM
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?

Title: Re: How can I prevent left click that positions edit cursor from unmarking selection
Post by: Ryan on March 01, 2013, 03:01:43 PM
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
Title: Re: How can I prevent left click that positions edit cursor from unmarking selection
Post by: ldbader on March 01, 2013, 06:37:04 PM
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.