Hello Raul;

I don't see the coloration you describe as a problem, since 'example' will not be an adverb until the line following the assignment.

Raul Miller wrote:
On Mon, Oct 6, 2008 at 4:11 PM, Sherlock, Ric <[EMAIL PROTECTED]> wrote:
As for "where does it end?", given that this would be user-configurable 
(exactly as it is
currently user-configurable to show verbs vs nouns vs adverbs in a different 
colour),
you can decide yourself where it ends.

It would be interesting if the session manager code which colorizes
text within the
session were itself written in J.

However, since this expression apparently colorizes every displayed line and
updates the display every time a character is typed, there might be efficiency
constraints.

Also, the current mechanism seems to be based solely on characteristics of
the raw text.  For example, if you configure your system such that adverbs
display in green, and type example=:/ then the word 'example' will not be
displayed in green.  So this proposed change would be a major departure from
how the session manager currently works.


--
------------------------------------------------------------------------
|\/| Randy A MacDonald       | APL: If you can say it, it's done.. (ram)
|/\| ramacd <at> nbnet.nb.ca |
|\ |                         | The only real problem with APL is that
BSc(Math) UNBF'83            | it is "still ahead of its time."
Sapere Aude                  |     - Morten Kromberg
Natural Born APL'er          |
-----------------------------------------------------(INTP)----{ gnat }-



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

Reply via email to