Re: "bind" or "Bind"?

New Message Reply Date view Thread view Subject view Author view

From: David Mankin (mankin@colossus.mathcs.rhodes.edu)
Date: 7 Aug 98, 14:31 EST


From: David Mankin <mankin@colossus.mathcs.rhodes.edu>
Subject: Re: "bind" or "Bind"?

At 9:37 AM -0400 8/6/98, Vincent Darley wrote:
>Use 'Bind'.  They're the same, 'bind' is there for backwards compatbility.
>This and a few other commands were renamed to remove the possibility of
>conflict when Alpha upgrades to newer versions of Tcl and to make code
>maintenance easier for those of us who use some cdoe with both alpha and
>Tk.
>
>-- Vince.

Very interesting.  I thought that Tcl code was case insensitive.  I guess
that shows my ignorance.  The reason I thought this, though, was that the
syntax highlighting in Alpha is case insensitive (which I find very
annoying since it doesn't help catch typos like the correct highlighting
would).  When I complained a couple versions ago, Pete explained that it
was because some languages need case insensitive highlighting.  I guess I
assumed he meant Tcl.

Is there any way to make the keyword highlighting case sensitive, maybe by
an extra flag to the command that sets up a mode's keywords (so as not to
break compatibility with the old modes)?  Perhaps this can be done when the
code falls into Vince's hands, if it can't be done in Tcl.  So, I guess you
can consider this a feature request.

Thanks,
-David


New Message Reply Date view Thread view Subject view Author view

This archive was generated by das@users.sourceforge.net with hypermail 2b29 on 31 Mar 01, 11:50 EST