Did you know... Ctrl+Delete deletes the proceeding word and Ctrl+Backspace deletes the preceding word - #044
[a blog reader let me know that i had reversed preceding and proceeding. But the title is correct now I was obviously way too focused on drawing a nice tree.]
I knew about Ctrl+Backspace, but Ctrl+Delete was a "oh yeah, i forgot about that" moment.
Ctrl+Delete is bound to Edit.WordDeleteToEnd
Ctrl+Backspace is bound to Edit.WordDeleteToStart
I have no idea what sort of picture to include for this tip, so I drew a tree for everyone.
Technorati tags: VS2005Tip, VS2008Tip
Comments
Anonymous
September 21, 2007
PingBack from http://msdnrss.thecoderblogs.com/2007/09/21/did-you-know-ctrldelete-deletes-the-preceding-word-and-ctrlbackspace-deletes-the-proceeding-word/Anonymous
September 21, 2007
The comment has been removedAnonymous
September 21, 2007
The comment has been removedAnonymous
September 21, 2007
BTW, do i have proceeding and preceding reversed? Should it be the other way around?Anonymous
September 21, 2007
Yes, you do. The preceeding word comes up to this spot, so that's "delete to begin". The proceeding word goes forth from this spot, so that's "delete to end".Anonymous
September 21, 2007
Three cheers for the tree control!Anonymous
September 22, 2007
The comment has been removedAnonymous
September 24, 2007
The comment has been removedAnonymous
January 14, 2008
The comment has been removedAnonymous
June 22, 2008
Ctrl + L キーは、Edit.LineCut に割り当てられており、現在の行を EOL も含めて切り取ります。 Ctrl + Shift + L キーは、Edit.LineDelete に割り当てられており、現在の行をAnonymous
July 06, 2008
[読者の方から前後を取り違えているとご指摘がありました。今は正しいタイトルになっています。木を描くことに夢中になっていました。] Ctrl + BackSpace キーについては知っていましたが、 CtrlAnonymous
October 02, 2008
Я знала о Ctrl+Backspace , но команда Ctrl+Delete была моментом "эх, я о ней забыла ". Ctrl+Delete