Re: [Geany-devel] Function Definition

2010-04-18 Thread Enrico Tröger
On Fri, 16 Apr 2010 20:39:59 +0200, Colomban wrote: jordan a écrit : As Enzo said, there is the scope to determine if a particular line is part of a function or not, but its is not supported by every tag generator used by Geany. What I personally chose was to walk the tag list and find the

Re: [Geany-devel] Function Definition

2010-04-17 Thread jordan
On 04/16/2010 02:39 PM, Colomban Wendling wrote: jordan a écrit : As Enzo said, there is the scope to determine if a particular line is part of a function or not, but its is not supported by every tag generator used by Geany. What I personally chose was to walk the tag list and find the

Re: [Geany-devel] Function Definition

2010-04-17 Thread Colomban Wendling
jordan a écrit : […] however this method seems broken as after the first comment block is inserted any tags below the insertion no longer have a valid line number until the application is saved. I notice this behavior is also present in the symbol browser of Geany, if you add some lines

Re: [Geany-devel] Function Definition

2010-04-16 Thread Colomban Wendling
jordan a écrit : As Enzo said, there is the scope to determine if a particular line is part of a function or not, but its is not supported by every tag generator used by Geany. What I personally chose was to walk the tag list and find the tag closest to the current line. Tweaking this way a

Re: [Geany-devel] Function Definition

2010-04-14 Thread Enzo Matrix
: jordan Относно: [Geany-devel] Function Definition До: geany-devel@uvena.de Изпратено на: Сряда, 2010, Април 14 15:25:15 EEST I'm trying to write a plug-in that among other things adds a function header.Unfortunately this is also my first C program so it has been more of a learning

Re: [Geany-devel] Function Definition

2010-04-14 Thread Colomban Wendling
Hi Jordan, jordan a écrit : I'm trying to write a plug-in that among other things adds a function header.Unfortunately this is also my first C program so it has been more of a learning experience then anything, but I'm finally at the point where it sort of works. What does your plugin,