So, straight to the point, QTP has a bug in the code editor. When you are typing a sentence you CAN'T hold the SHIFT key and press SPACE bar at the same time. The expected result is that the editor will insert an empty space in your code, but instead it DOES NOTHING.
So, bottom line, it's very small but annoying like hell bug in the editor.
WORKAROUND: Hit Caps Lock key or just release the SHIFT key before hitting SPACE bar.