[Geany-devel] txt2tags tagmanager patch

Enrico Tröger enrico.troeger at xxxxx
Sat Aug 29 10:48:42 UTC 2009


On Fri, 28 Aug 2009 18:37:20 +0000 (GMT), Forgeot wrote:

Hi,

>Here is my SVN patch in attachment, for getting the txt2tags headers
>in the Symbols panel in geany. (I co the svn this evening so it should
>be up to date)
>
>I understand it could be better looking (it's just working but there
>is no hideable hierarchy with the different headers), but once the
>txt2tags declaration will be in the svn it will be easier to update
>only one file: tagmanager/txt2tags.c 

And this file is missing in your patch :).
To get the new file included in the output of 'svn diff', you first
need to add it (locally) to the SVN working copy by running:
svn add tagmanager/txt2tags.c
then run svn diff again and it should include the new file as well. Or
simply send the file as it is to this list.

I'm just wondering whether it isn't possible to extend the Markdown
parser to parse txt2tags files as well. This way we wouldn't need to
add yet another filetype in Geany.
But some working code before is better anyway.


>You can test this with for example:
>http://txt2tags.sourceforge.net/features.t2t
>
>Is it possible to register the option "sort it by appearance" by
>default instead of by name in a tagmanager definition ?

Not yet. I promised an user to implement this on IRC many months ago
but I completely forgot it. Shame on me.
Will be done soon.


>>so could you try to get your scintilla lexer into the official
>>project please?
>
>good idea, I'll do it this way then, I think it's better to propose
>this upstream.

Your patch doesn't list any changes to Scintilla code, so if the only
thing you changed is the tagmanager code, no need to bother the
Scintilla guys with this :).



Regards,
Enrico

-- 
Get my GPG key from http://www.uvena.de/pub.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.geany.org/pipermail/devel/attachments/20090829/633169a1/attachment.pgp>


More information about the Devel mailing list