squeak.org
[*]  Links

[*]  Syntax Coloring

[*]  Cream Font

[*]  Units

[*]  XML Parser

[*]  PalmOS® tools

Syntax Coloring for Squeak 2.x

I have adapted Martin Wollenweber's SyntaxColoring goodie to Squeak 2.x. The original version for Squeak 1.2 did not work with pluggable views.

((Note 19may00: A complete rewrite is under way. Integration with Squeak's pretty-printing, a Preferences panel, maybe even HTML fileout.))

Martin had a whole suite of cooperating tools ("SmartTools") for VisualWorks 2.x which still await porting. The SmartTools were:

  • ClassHopper (replaces HierarchyBrowser and ClassBrowser, in conjunction with a CodeTool)
  • MessageHopper (similar to the ClassHopper, replaces MessageBrowser)
  • CodeTool (displays code with formatting and syntax coloring)
  • HyperInspector (enhanced multi-level Inspector)
  • DocuTool (create and maintain documentation)
Martin isn't into programming any longer, and handed the suite on to me. It will go to any individual or team that is willing to accept further responsibility for it. Accompanying documentation is in German and consists of a 60-page PDF file. Source file size is 842 KB. Martin's university probably still holds the copyright, but the code should be free. Contact me by e-mail if you're interested in the package.

But back to syntax coloring. The effect of this goodie looks like this:

[screenshot]

The changeset is here (30 KB), ready for file-in. Don't worry, the styles and colors are customizable... (see SyntaxHighlightingTextAttribute class>>makeAllAttributes)


Copyright © 1999-2000 by Helge Horch. All rights reserved.
LAST AWK RUN: hh 03oct00, contact: heho@gmx.de