Doesn't seem to be quite that simple. Made the change, restarted J Gtk IDE, error on startup: "missing handler: cb_edit_changed_0_" The error reoccurs every time I type a key while in the Term window. There are no changes to the display of the Term window contents.
If I try to open the Edit window I get the following error: xxx signal: openedit_activate_0_ |missing cbregs: assert | 'missing cbregs' assert 0 Can't seem to open files. > From: bill lam > Sent: Thursday, 24 June 2010 14:26 > > Ric, > you can try by patching file gtk.ijs > search for the code > > newsb=: 3 : 0 > if. -.IFSV do. newtb y return. end. > 'class scheme filename text'=. y > sb=. gtk_source_buffer_new 0 > sm=. gtk_source_style_scheme_manager_get_default'' > ss=. gtk_source_style_scheme_manager_get_scheme sm;scheme > gtk_source_buffer_set_style_scheme sb,ss > select. class > case. 'term' do. > case. 'edit' do. > lm=. gtk_source_language_manager_get_default'' > > change the line > > case. 'term' do. > > to > > fcase. 'term' do. > > and copying edit.xml to term.xml. (untested) > > I think it is hard to differentiate between input and output, but you > try and see if it worth to give users an option if they really like > it. > > > Чтв, 24 Июн 2010, Sherlock Ric писал(а): > > 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. > > > > [---=| TOFU protection by t-prot: 34 lines snipped |=---] > > -- > regards, > ==================================================== > GPG key 1024D/4434BAB3 2008-08-24 > gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3 > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
