<br><br><div class="gmail_quote">2010/3/23 Enrico Tröger <span dir="ltr"><<a href="mailto:enrico.troeger@uvena.de">enrico.troeger@uvena.de</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">On Tue, 23 Mar 2010 09:06:47 +1100, Lex wrote:<br>
<br>
<br>
>> > I noticed there is a plugin that "collects" TODO tasks and it<br>
>> > would be useful to me if it didn't require a "description" of the<br>
>> > TODO, which I<br>
>> don't<br>
>> > do in many cases, and of course, if it would somehow highlight the<br>
>> > TODO/FIXME note.<br>
>><br>
>> Maybe such a feature could be implemented in the plugin. I'd suggest<br>
>> you to file a feature request at sourceforge [1].<br>
<br>
</div>No need to, this behaviour is already implemented. Though I'd rather<br>
suggest to use descriptions for TODO items as it would make them more<br>
understandable, also for yourself when you read the code three weeks<br>
later. But yes, this is a personal preference.<br>
<br>
The latest version of the Addons plugin contains the old implementation<br>
of the Tasks subplugin, it might be that this old implementation<br>
doesn't take "empty" TODO items. But the current development version in<br>
SVN does take them even without a description.<br>
<div class="im"><br>
<br>
>I'd expect that this needs to be done in the scintilla language lexer,<br>
>specifically the lexer needs to look for TODO within comments.  I<br>
>presume you got it to work outside comments by setting TODO as a<br>
>keyword, but lexers don't ignore keywords in comments, strings etc,<br>
<br>
</div>Little correction, lexers *do* ignore keywords in comments :).<br></blockquote><div><br>Oops, re-connecting brain to fingers :-)<br> <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

<div class="im"><br>
<br>
>In fact AFAIK no lexer looks for any structure within a comment.  A<br>
>plugin would be "fighting" the lexer to style that bit of text so I<br>
>doubt it would work.<br>
<br>
</div>Completely right. This can't be done (in a sane way) in Geany. This has<br>
to be supported by the Scintilla lexers.<br>
<br>
Regards,<br>
Enrico<br>
<font color="#888888"><br>
--<br>
Get my GPG key from <a href="http://www.uvena.de/pub.asc" target="_blank">http://www.uvena.de/pub.asc</a><br>
</font><br>_______________________________________________<br>
Geany mailing list<br>
<a href="mailto:Geany@uvena.de">Geany@uvena.de</a><br>
<a href="http://lists.uvena.de/cgi-bin/mailman/listinfo/geany" target="_blank">http://lists.uvena.de/cgi-bin/mailman/listinfo/geany</a><br>
<br></blockquote></div><br>