The highlighting is performed by the Scintilla editing widget Geany uses which is a separate [project](www.scintilla.org). Please report to their bugtracker so you can be directly linked to responses and queries. Please post a link to the bug here for tracking.