On 12-03-20 06:06 PM, Matthew Brush wrote:
[...]
I actually was meaning to bring this up, and I think it was discussed in passing on IRC since I've made a branch on geany-themes to implement it. What if the color schemes and filetypes.* files had a version key in them that Geany could check and warn about such potential problems?
I was thinking the key could be something to the effect of `geany_version=1.22` in the `[theme_info]` and (a new) `[ft_info]` groups, which would be the recommended minimum version of Geany that will work properly with the file. If the key is missing (ie. existing files) or the Geany version is too low, it would prompt a simple message dialog explaining the problem, with the option to not show it again.
Does this sound workable at all?
Heh, I just found a Gist I had previously made as a demo/idea for this:
https://gist.github.com/2016617
Cheers, Matthew Brush