Aha! The real key was setting new color values in ~config/style/cfg, especially 
for [Class].

However, there's a peculiarity in editing ~config/style/cfg from the jqt Edit 
window: If I comment out the default values in a block such as [Class] (and the 
block's header) using leading # symbols and then insert a new block [Class] -- 
and even if I move the commented-out portion near the file top, before any 
other block -- and insert a new block in its place, then the commented out 
block simply disappears from the file after I save it and later reopen it.

That's a very bad behavior!

On 17 Apr 2013 20:48:08 +1200, Ric Sherlock <[email protected]> wrote:

> In the latest version [1.0.4] I think you need to follow the following steps 
> to get
> syntax highlighting in the Term window (& in the Edit window). Appropriate
> defaults should be set in later versions.
> in ~config/qtide.cfg set
> TermSyntaxHighlight=true
> 
> in ~config/style.cfg
> set some appropriate colours. For example:
> 
> [Edit]
> fore=0 0 0
> back=221 252 222
> high=240 240 232
> 
> [Term]
> fore=0 0 0
> back=252 252 221
> high=240 240 232
> 
> [Class]
> adverb=221 68 68
> comment=136 136 136 italic
> conjunction=221 153 153
> control=255 0 0
> function=0 0 255
> noun=0 0 255 bold
> noundef=0 0 255
> number=160 32 240
> string=0 0 255
> verb=0 153 102
> 
> Now close jqt and restart.

---
Murray Eisenberg                                    [email protected]
Mathematics & Statistics Dept.       
Lederle Graduate Research Tower            phone 413 549-1020 (H)
University of Massachusetts                               413 545-2838 (W)
710 North Pleasant Street                         fax   413 545-1801
Amherst, MA 01003-9305





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

Reply via email to