When i press ctrl+backspace i some times get a small square inserted instead of the entire word erased. I tried to copy it here but it doesn't look this way in the textbox, it's just a plain white rectangle with a 1px black border.



It only happens in some text-boxes, in some it works like it should.

startmenu searchbox: works
notepad: doesn't work
notepad2: works
firefox: works

Running win7 x64

link|improve this question
I get the same behavior in notepad in WinXP. – djhowell Aug 31 '09 at 20:08
feedback

3 Answers

The "box" you're seeing is what is known as a control character. The box is displayed because, as you've discovered, not all programs handle the ctrl+backspace to remove a word.

This control character is one of 33 "non-printing" characters in the 128 character ASCII character-encoding scheme.

link|improve this answer
Just wanted to add that some applications handle it even worse and actually don't display the control character. You can see this when nothing happens with ctrl+backspace and pressing delete seems to do nothing. I think notepad for Vista did this. – Joshua Aug 31 '09 at 20:19
The character inserted is 127 - the delete character. – ugh Aug 31 '09 at 20:25
feedback

Not all applications handle keyboard shortcuts the same. Notepad doesn't seem to handle this key combination and handles it in its own way.

link|improve this answer
feedback

Found this on an MSDN blog...

A few people in the early days of the Internet Explorer group used the Brief editor, which uses Ctrl+Backspace as the shortcut key to delete the previous word, and they liked it so much that one of them added it to the autocomplete handler. Therefore, any edit control that uses SHAutoComplete will gain this secret Ctrl+Backspace hotkey.

So it sounds like if the application does not use SHAutoComplete it will not support the feature unless it has been explicitly added by the application's author.

P.S. control-delete removes the word ahead of the cursor

link|improve this answer
Also on this same article, reading through the comments adds a little bit more insight: blogs.msdn.com/oldnewthing/archive/2007/10/11/… – heavyd Aug 31 '09 at 20:17
feedback

Your Answer

 
or
required, but never shown