[MACTCL] Tcl keyword coloring
by Philip Aker other posts by this author
Oct 15 2005 6:58PM messages near this date
[MACTCL] Launch Services wrapper--which part of API?
|
[MACTCL] More on icons
Hi all,
Apple DTS has very kindly accepted several bug/enhancement requests
I've put in for Tcl and Xcode and asked for further comments on Tcl
keyword coloring. I'd like to provide them with the best suggestions
possible so that the coloring for Tcl goes from nil to excellent in a
future Xcode release.
I've started on a script to list keywords output to Apple's plist
format for the items that would be included in any OS release (i.e.
those in /System/Library/Frameworks). If anyone has an opinion of what
else should be included (or excluded) please be in touch. IMO, Apple
tends to prefer pre-generated indices. I'm not sure of how much Xcode's
text methods will be able to deal with the dynamic nature of Tcl. But
seems to me it would be optimal if it could color package names,
namespaces, and procs from the script currently being edited. If there
are any suggestions for a very fast parser in that area, I'd be
grateful for a link.
Also what about the built-in operators category? I don't know if Tcl
has a built-in command or proc which will list all those. I'm currently
using:
set OPERATORS "\[ \] \\\{ \\\} ( ) ! ~ + - += - -= <= >= & *
<< > == \!= ^ | && || ?: *= /* &= |& <<=
>>= ,";
Thanks!
Philip Aker
http://homepage.mac.com/philip_aker
Philip Aker
http://homepage.mac.com/philip_aker
-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Tcl-mac mailing list
Tcl-mac@[...].net
https://lists.sourceforge.net/lists/listinfo/tcl-mac
|