I find syntax highlighting really useful when composing sentences in the j602 
IJX window. If it ends up being possible/acceptable to highlight the different 
parts of speech in the Term window, I imagine it will be even more useful for 
beginning J'ers as they come to grips with the different primitives.

If it ends up being possible to somehow differentiate the input and output and 
highlight them individually, then it would be a no-brainer. (It would obviously 
be configurable by the user in the same way the Edit window is now.)

If not then, as Raul & Dan point out, the current j602 jwdw IJX window 
highlights both input and output and the (not strictly correct) highlighted 
output is worth it to get the highlighted input. 

If we're not able to differentiate between the input and output, then scaling 
back the number of features differentiated in the Term window may help reduce 
confusion, this should be possible by just altering the term.xml file.
 
It is worth trying it out IMO.

> From: Chris Burke
> Sent: Wednesday, 23 June 2010 21:42
> 
> Both term and edit use gtksourceview where available, but term does not
> have syntax highlighting enabled.
> 
> Is there a need in term? I found it confusing.
> 
> On Tuesday, June 08, 2010 10:28 AM, bill lam wrote:
> > Chris seemed intentionally disable syntax coloring in Term, please
> > grep for 'newsb=:' in gtk addons.
> >
> > You may try amending that part to make syntax coloring in Term and
> > evaluate if that will be a better option.
> >
> > Втр, 08 Июн 2010, Sherlock Ric писал(а):
> >>> From: Dan Bron
> >>> Sent: Tuesday, 8 June 2010 07:01
> >>>
> >>> PS:  I agree with Raul that the current IDE syntax-highlights
> output,
> >>> and that's ok (definitely worth it for highlighted input)
> >>
> >> Agreed.
> >>
> >> Unfortunately it seems I spoke too soon. I think I'm right in saying
> that the Edit window currently uses gtksourcebuffer/gtksourceview
> widgets to store and display scripts, whereas the Term window uses
> gtktextbuffer/gtktextview and doesn't support syntax highlighting. If
> I'm wrong, someone who knows more about gtk will hopefully correct me!
> >
> 
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to