I have compiled and installed SVN rev4880. The replacement of custom templates doesn't work as expected.
After saving the custom template, the display is cluttered. After playing with geany in this state, I've got one segfault. Restarting geany with the previously cluttered file comes up the a file which is less bad.
The attached archive contains the screenshots, the template and the stored files created with the template.
On Mon, 10 May 2010 08:31:18 +0200 Joerg Desch jd.vvd@web.de wrote:
I have compiled and installed SVN rev4880. The replacement of custom templates doesn't work as expected.
After saving the custom template, the display is cluttered. After playing with geany in this state, I've got one segfault. Restarting geany with the previously cluttered file comes up the a file which is less bad.
The attached archive contains the screenshots, the template and the stored files created with the template.
Thanks, I think I've fixed the problem now in r4898.
Regards, Nick
On Tue, 11 May 2010 12:51:00 +0100 Nick Treleaven nick.treleaven@btinternet.com wrote:
Thanks, I think I've fixed the problem now in r4898.
Yes, "cluttering" is fixed here too.
The replacement of the "unbekannt.c" ("unnamed.c") with the stored filename is still not included. How many line do you scan for this?
Would it be an option to scan more lines, if the file starts with an comment? If so, you can scan the whole comment for (custom) templates.
On Tue, 11 May 2010 14:08:58 +0200 Joerg Desch jd.vvd@web.de wrote:
Thanks, I think I've fixed the problem now in r4898.
Yes, "cluttering" is fixed here too.
Great, thanks for testing.
The replacement of the "unbekannt.c" ("unnamed.c") with the stored filename is still not included. How many line do you scan for this?
Only the first 3 lines.
Would it be an option to scan more lines, if the file starts with an comment? If so, you can scan the whole comment for (custom) templates.
I've added a TODO item to replace the filename in a better and safer way. Will work on this after 0.19.
Regards, Nick
On Tue, 11 May 2010 13:17:48 +0100 Nick Treleaven nick.treleaven@btinternet.com wrote:
Great, thanks for testing.
No problem...
The replacement of the "unbekannt.c" ("unnamed.c") with the stored filename is still not included. How many line do you scan for this?
Only the first 3 lines.
Can you add this to the configuration dialog? So the user can decide what he wants. In my case nearly all c/c++ files gets this (large) header.
Would it be an option to scan more lines, if the file starts with an comment? If so, you can scan the whole comment for (custom) templates.
I've added a TODO item to replace the filename in a better and safer way. Will work on this after 0.19.
Is this TODO entry in the SVN?
On Tue, 11 May 2010 14:42:40 +0200 Joerg Desch jd.vvd@web.de wrote:
The replacement of the "unbekannt.c" ("unnamed.c") with the stored filename is still not included. How many line do you scan for this?
Only the first 3 lines.
Can you add this to the configuration dialog? So the user can decide what he wants. In my case nearly all c/c++ files gets this (large) header.
I don't want to add a pref as it's best to fix the behaviour.
Would it be an option to scan more lines, if the file starts with an comment? If so, you can scan the whole comment for (custom) templates.
I've added a TODO item to replace the filename in a better and safer way. Will work on this after 0.19.
Is this TODO entry in the SVN?
Yes.
Regards, Nick