At some point, the behaviour of automatic language boxes seems to have changed. Open a new PHP&Python file, and start typing function -- immediately a Python language box appears. Then type f (i.e. space then "f") -- the box will disappear. Delete f and the box will reappear but it will no longer encompass the space character, so whatever you now type is outside of the box. That doesn't seem entirely intuitive, although I'm not sure what the perfect fix might be.