Looks better, but I wonder if all those almost identical callbacks could be combined into one or two and use the user_data to pass which template to use?
--- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/pull/752#issuecomment-155689661