Sorry, I didn't pay much attention, the last 2 lines of case 'edit'
section should not apply for 'term'. Please try again amending
according to as follows,
case. 'term' do.
lm=. gtk_source_language_manager_get_default''
sl=. 0
if. #filename do.
sl=. gtk_source_language_manager_guess_language lm;filename;<<0
end.
if. sl = 0 do.
sl=. gtk_source_language_manager_get_language lm;,DefLang
end.
if. sl do.
gtk_source_buffer_set_language sb,sl
end.
gtk_source_buffer_set_highlight_syntax sb,1
gtk_source_buffer_set_highlight_matching_brackets sb,ifMatchBrackets
case. 'edit' do.
Чтв, 24 Июн 2010, Sherlock Ric писал(а):
> 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.
>
> [---=| TOFU protection by t-prot: 67 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