[Geany-devel] txt2tags tagmanager patch

Forgeot Eric eforgeot at xxxxx
Sat Aug 29 14:20:51 UTC 2009

I'm afraid I'm not used to mailing-lists, especially when using the digest version. I've posted my response without the subject, so I copy it again here.

I'm sending also the patch, this time it's the full version with the tagmanager/txt2tags.c file correctly included.

>I'm just wondering whether it isn't possible to extend the Markdown
>parser to parse txt2tags files as well. 

it's problably possible because the txt2tags tags don't interfere with the markdown for this part. But...

>This way we wouldn't need to
>add yet another filetype in Geany.

yet the extension for txt2tags files is different. And in case I or someone manage to write the scintilla lexer, the rest of the txt2tags syntax would interfere with the markdown one.

>Your patch doesn't list any changes to Scintilla code,

I didn't include it, maybe I could have done it (without the scintilla lexer)? I'm still not satisfied with my scintilla lexer, because I managed only to highlight the tags and not the text. I'll propose it in a later revision.

Besides, the first time I inserted my changes, I did it on the released version 0.18, so I had to do it again with the svn version later.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: geany_txt2tags_tagmanager2.patch
Type: text/x-patch
Size: 6079 bytes
Desc: not available
URL: <http://lists.geany.org/pipermail/devel/attachments/20090829/31d3cd14/attachment.bin>

More information about the Devel mailing list