When using Tools->Config Files to open a user file that doesn't exist. This fixes the first line of geany.css being wrongly uncommented (and the rest unchanged) due to toggle comment being used and CSS not having a line comment.
(Verbatim copy-paste of Nick's description of the previous version of the patch, thanks :-)
This is a replacement of https://github.com/geany/geany/pull/3450 which was done against an older version of Geany and the affected code was modified in the meantime. You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany/pull/3576
-- Commit Summary --
* Don't comment global content unless it is Conf
-- File Changes --
M src/ui_utils.c (6)
-- Patch Links --
https://github.com/geany/geany/pull/3576.patch https://github.com/geany/geany/pull/3576.diff