Home Download Buy Blog Forum Support

Prevent to overwrite Clipboard with nothing.

Prevent to overwrite Clipboard with nothing.

Postby Pho3NiX on Sat Aug 18, 2012 5:01 pm

First thank you for this great text editor.

My problem is that when I type without looking at keyboard i'm often off-by-one.
Most of the time it's possible to correct, however Clipboard overwriting is not reversible.

So I often press CTRL-X instead of CTRL-S. Same problem with CTRL-C , CTRL-V

When some text is selected, Cut/Copy make sens so i'll accept it as my fault.
However when nothing is selected, ST2 behavior is to clear clipboard,
while other text editors simply ignore the copy/cut command (np++ for example).

So my suggestion would be:
When selection width is zero, ignore clipboard command rather than overwrite with nothing.

Thanks you very much.
Pho3NiX
 
Posts: 1
Joined: Sat Aug 18, 2012 4:36 pm

Re: Prevent to overwrite Clipboard with nothing.

Postby C0D312 on Sat Aug 18, 2012 5:41 pm

While you can override this behavior with a simple plugin, I just wanted to make a clarification. ST2's default behavior is to copy/cut the current line if nothing is selected. I find this behavior very intuitive but I can see where people have trouble with it.
C0D312
 
Posts: 1063
Joined: Sun Jul 10, 2011 3:23 am


Return to Ideas and Feature Requests

Who is online

Users browsing this forum: Exabot [Bot] and 3 guests