> Probably not to new users who are the ones fiddling with conf files, using # > for a comment is "well known", but whats this #~ thing? And do I leave the ~ > or what? Have had all those during various support interactions.
This is definitely a good reason to use just the simple `#` then. > its not clear from the G* docs for > [keyfile](https://docs.gtk.org/glib/struct.KeyFile.html) (can you see where > the file format is described?) if space at the start of the setting line is > ok or not, so not having a space on lines which are settings is best, so only > the comment marker is removed. > [↩](https://github.com/geany/geany/pull/3413#user-content-fnref-1-91e667f444008f5b533110d95cdef987) It seems to be somewhat documented here https://gitlab.gnome.org/GNOME/glib/-/blob/main/glib/gkeyfile.c#L76 but I'm not sure if keys can start with spaces. I used the `isspace()` check skipping spaces to be on the safe side. -- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/pull/3413#issuecomment-1445204179 You are receiving this because you are subscribed to this thread. Message ID: <geany/geany/pull/3413/c1445204...@github.com>