codebrainz/geany — comment on commit e9c99497b6b23e6a4445b959f3e6948f40ccb1a8
File:  line 0
By b4n:

`document_reload_config()` does too much (rebuilds tags, sets styles, sets some editor settings, and, last but not least, resets symbols sorting mode!), and actually you only want `update_type_keywords()` from it.
IMO it's be better to either make `update_type_keywords()` public or add a new document function to do the necessary stuff (`build_menu_update(); sidebar_update_tag_list(FALSE); update_type_keywords()`) and call it from the tab switch handler.