Re: Re: task annotations

Tor Norbye <[email protected]> Mon, 10 May 2004 09:44:41 -0700
Newsgroups gmane.comp.java.netbeans.modules.tasklist.devel
Message-ID <[email protected]>
Petr Kuzel wrote:

>Hello Peter,
>
>You cannot. Theoretically you could change options and
>use pattern such as [^"]XXX[^"] to handle this, but
>you cannot enter it using current UI (escapes it).
>  
>
I'm not up on the current sources, but at least it used to be the case 
that you could enable/disable an option where only comments are scanned, 
instead of all source. This is because XXX really only means "todo" when 
written in comments; a variable named XXX or your example should not 
match when scanning only comments.

-- Tor

>  Cc.
>
>  
>
>>Hello,
>>
>>I've noticed that instructions like the following are marked as todo's:
>>btnLineColorSelected.setText("XXX");
>>
>>While this makes sense in some cases, the "XXX" is here for dynamical
>>calculation of the button width (forground and background have the same
>>color, so the "XXX" is invisible). Therefore the todo annotation is
>>slightly annoying - is there a possibility to switch it of _at this
>>special place_?
>>
>>Kind regards
>>
>>Peter
>>    
>>
>
>  
>