I would prefer Method B, but only mildly, as it seems more precise. However, I forgo syntax highlighting entirely by my use of a monochrome emacs session, so I'm not a very big fan of it.
On Thu, Feb 18, 2010 at 4:57 PM, Sherlock, Ric <[email protected]>wrote: > I've been working with the maintainer of GeSHi Syntax-highlighter (provides > the syntax highlighting on Rosetta Code) to add support for J. > > There are a couple of J features that GeSHi doesn't currently handle well > and the options for handling them each have their pros and cons. One of > those features is the control word construct ( controlword_myjvarname. ) . > For example ( for_i. ) or ( goto_myname. ). > > 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 > > If you have a preference for one of the two methods please register it > either here or on the wiki page. (Method B is currently being used by > GeSHi). > > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > -- Devon McCormick, CFA ^me^ at acm. org is my preferred e-mail ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
