On Sun, 21 Feb 2010 15:26:23 +0100, Enrico wrote:
On Fri, 19 Feb 2010 17:49:14 +1100, Lex wrote:
I suggest that the simplest start point would be to add a re-scan menu item to the templates menu itself. It would just need to destroy and re-create the menu. As I said its not needed very often so the effort for automatic update probably isn't worth it.
Already exists, to wit:
In v0.17 and v0.18, the template file list available in 'File->New (with Template)' is updated by when Tools->Reload Configuration is selected. The same is true for modified existing template files. Geany does not need to be restarted to update the menus and re-populate the internal templates list. The documentation does not reflect this new behavior, and in fact still says that Geany must be restarted to become aware of new custom templates. It just ain't so. (I'm looking at revision 4674, v0.17 source, and v0.18 source; revision 4674 seems leaner and cleaner.)
You are right about that, I didn't look deep enough, and the manual in SVN still says restart needed, feel free to submit a patch to fix the manual, or even just some words in an email to this ml.
That would be much appreciated :)
Shame on me. I should read first all mails and then start replying. Thanks for your patch and Dominic for committing :).
Regards, Enrico