On Thu, Feb 18, 2010 at 4:57 PM, Sherlock, Ric
<[email protected]> wrote:
> The maintainer of GeSHi suggested I should seek guidance from the J
> community as to which of the following two methods fits best with J and best
> meets our needs.
> In short Method A highlights the whole word (including the "dot" and "_myvar"
> suffix), whereas Method B highlights only the "word" part of the control words
> (not the trailing "." or the "_myvar" suffix). For a better description and 
> examples
> see the following wiki page:
>
> http://www.jsoftware.com/jwiki/Guides/Syntax%20Coloring/GeSHi%20Options

What would Method B do with lines such as
   while=: [: +/ i.

which contain user defined words with the same spelling as the control words
(except without the dot)?

That said, I am leaning towards A because B with something like
   for_j.
would suggest a variable named _j (which is wrong) rather than
a variable named j

Thanks,

-- 
Raul
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to