> What concerns me about all this is that different rules apply for the text
> portion from the rest. How can you tell that it is from the text portion of
> the tutorial and not from other writes?

I agree this is the main issue and there may be better ways of doing
it than mine. I chose to highlight any text that starts with a start
of the line followed by 0 or more whitespace chars, followed by 2 or
more (46 { a. (ASCII) or ( u: 2472 ) chars and ends with a single
right bracket on a line by itself.

It seems to work OK for everything I've tried it with so far.
I've committed that to the Public SVN, but it is not yet available
from JAL. If you want to test it in the meantime you can download the
following two files (use plain text link at bottom of pages) and put
them in your ~config/  folder.

http://www.jsoftware.com/trac/public/browser/trunk/ide/gtk/source/config/j.lang
http://www.jsoftware.com/trac/public/browser/trunk/ide/gtk/source/config/term.xml


On Mon, Feb 14, 2011 at 4:29 PM, Don Guinn <[email protected]> wrote:
> Thanks. I need to start learning all this stuff. Haven't been able for the
> past few months.
>
> What concerns me about all this is that different rules apply for the text
> portion from the rest. How can you tell that it is from the text portion of
> the tutorial and not from other writes?
>
> On Sun, Feb 13, 2011 at 7:23 PM, Ric Sherlock <[email protected]> wrote:
>
>> I've done some work on this (and dyadic Note) which I'll commit to SVN
>> repository tonight.
>>
>> On Mon, Feb 14, 2011 at 1:50 PM, bill lam <[email protected]> wrote:
>> > Syntax coloring of Term is controlled by TermScheme is config|gtkide.
>>  You
>> > can change it to Edit to have the syntax coloring as Edit.
>> >
>> > The grey background for text pane could be possible by providing a new
>> > syntax class in lang definition.  Detail avaiblable in
>> > help|gtk|gtksourceview. (untested)
>> >
>> > Вск, 13 Фев 2011, Don Guinn писал(а):
>> >> After displaying a lab section the input line following is not indented.
>> >>
>> >> There is no tool to select a chapter. Have to proceed through the lab
>> from
>> >> beginning to end.
>> >>
>> >> In J6 a distinction between the text pane and the execution pane. The
>> text
>> >> pane has a grey background, NB. does not force italics and single quotes
>> do
>> >> not force literal coloring. The JGTK makes no such distinction.
>> >>
>> >> Text within quotes should not be given literal coloring.
>> >> ----------------------------------------------------------------------
>> >> For information about J forums see http://www.jsoftware.com/forums.htm
>> >
>> > --
>> > 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
>>
> ----------------------------------------------------------------------
> 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