geany/geany — pull request #5 by codebrainz (2011-10-12 08:09:20+00:00)
Title: Reload document configuration on tab page switch

I'm posting as a pull request because I'm not 100% sure this is the "correct" fix. I've testing with all Geany's c/h files open and various Vala files and it fixes the highlighting issue and doesn't add any noticeable delay.

This closes [this bug here](https://sourceforge.net/tracker/index.php?func=detail&aid=3388212&group_id=153444&atid=787791) (and maybe others) and stops it from annoying me while I'm working on C and Vala at the same time :)