TextWrangler/BBEdit IDL Language module [message #52412] |
Thu, 01 February 2007 19:53 |
wallabadah
Messages: 28 Registered: November 2005
|
Junior Member |
|
|
G'Day All,
This is probably only of interest to Mac OS X users...
TextWrangler has recently been updated to version 2.2 - in which
changes have been made to codeless language modules (which are used
for syntax highlighting). Regular expressions can now be used to
identify functions and procedures within source code files - something
that was lacking from previous versions.
I have written an updated version of the IDL language module which
takes advantage of this feature. The old module provided syntax
highlighting of strings, comments and keywords, but it's now also
possible to identify the start and end point of functions and
procedures, so TextWrangler can display them in its popup menu and
allow you to use the 'Go to Function Start' and 'Go to Function End'
menu commands. This allows you to navigate long source files which
contain multiple routines much more easily. When used with BBEdit, you
can also do Code Folding - which hides routines from view while you're
not interested in them.
If you're interested in getting a copy of the language module, It's
being hosted on Ken Bowman's site (http://idl.tamu.edu/mactips/
syntax_coloring.php - thanks Ken!), or available directly from me
(wpowell<at>els.mq.edu.au). I've only just sent it to Ken, so it might
not be up for a bit.
If you've got comments, suggestions or bugfixes let me know.
cheers,
Will Powell
------------------------------------------------------------ -----------------
ARC National Key Centre for Geochemical Evolution and Metallogeny
of Continents (GEMOC)
Department of Earth and Planetary Sciences, Macquarie University, NSW
2109, Australia
Tel: 61-2-9850 8376
Fax: 61-2-9850 6904
GEMOC website: http://www.es.mq.edu.au/GEMOC/
|
|
|