We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
Page Index Toggle Pages: 1
custom syntax highlighting. (Read 1264 times)
custom syntax highlighting.
Jun 14th, 2005, 2:09pm
 
Hope this hasn't been brought up before:
I think it would be a nice feature if libraries could specify their own keywords.txt files to highlight new methods and syntax they introduce.

A very nice way of doing this would be to have the associated keywords file in the library's folder and load it only when the library is imported into a sketch.
Another way that would probably be less of a pain to implement could be to have a keywords folder instead of a single file and load every txt file in that folder upon startup. That way, it would still be simple for the user to install or uninstall syntax-highlighting "modules".
Re: custom syntax highlighting.
Reply #1 - Jun 20th, 2005, 6:33pm
 
TextPad ( http://textpad.com )has a very nice feature like this, open-ended and allows for user contribution.   i second the recommendation...
Page Index Toggle Pages: 1