ctrl-delete deletes too much?

4 views
Skip to first unread message

Elliott Hughes

unread,
Oct 21, 2011, 5:20:47 PM10/21/11
to evergre...@googlegroups.com
what do you think ctrl-delete removes here?

if (!someFunction

if you guessed "(!someFunction", you're right, but weird. surely we
wanted this to just delete "someFunction"? this caught me out earlier
because i basically ended up turning

if (!x()) {

into

if (y()) {

because i noticed the ( disappear but not the !.

--
Elliott Hughes - http://www.jessies.org/~enh/

Martin Dorey

unread,
Oct 21, 2011, 5:24:11 PM10/21/11
to evergre...@googlegroups.com
Do you mean Ctrl-Backspace from the end of that line? In that situation, MS Word and Wordpad delete "someFunction".

if (!someFunction

if (!x()) {

into

if (y()) {

--
You received this message because you are subscribed to the Google Groups "evergreen-users" group.
To post to this group, send email to evergre...@googlegroups.com.
To unsubscribe from this group, send email to evergreen-use...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/evergreen-users?hl=en.

Ed Porter

unread,
Oct 21, 2011, 5:31:10 PM10/21/11
to evergre...@googlegroups.com
On Fri, 21 Oct 2011 14:24:11 -0700, Martin Dorey wrote:
> Do you mean Ctrl-Backspace from the end of that line? In that
> situation, MS Word and Wordpad delete "someFunction".

Mac OS' TextEdit also deletes 'someFunction' and leaves the ! alone,
upon alt-backspace.

Personally I don't think I've ever used ctrl-backspace; I usually
either select then delete or just hammer the delete key and pretend I'm
thinking, so if you correct Evergreen's behaviour it won't bother me
either way.

-ed

Chris Reece

unread,
Oct 21, 2011, 5:45:44 PM10/21/11
to evergre...@googlegroups.com

On 22/10/2011, at 10:31 AM, Ed Porter wrote:

Personally I don't think I've ever used ctrl-backspace; I usually either select then delete or just hammer the delete key and pretend I'm thinking, so if you correct Evergreen's behaviour it won't bother me either way.


Ditto.  Unless you're telling me that ctrl-delete is going to complete my tax return and give me a back rub, I'm unlikely to start using it.

Elliott Hughes

unread,
Oct 25, 2011, 12:59:13 AM10/25/11
to evergre...@googlegroups.com
fixed by r3261.

Reply all
Reply to author
Forward
0 new messages