I thought I posted this problem before and got an answer but a search didn't find it, so this is probably a repeat.
SE has gotten into a strange mode where auto-complete is not working correctly.
For example, I start typing a switch statement, when hit the 'w' key I get list of possible completions, of which the switch statement is the first one on the list. Normally I just hit space and SE puts in a complete switch statement an puts the cursor in the parens. Only now, when I hit space the "sw" is removed and the cursor is placed on the line above. So I type out "switch" completely, and when I type an open paren it does the same thing, deletes "switch" and puts the cursor on the line above.
What did I inadvertently do?