This didn’t start happening until two or three months ago – consequences are that you can’t use alt + arrow keys to skip over words with the cursor while typing in the command bar (similar to ctrl + arrow keys on Windows).
This only seems to happen with the command bar, not while editing scripts.