For grins I wrote a little fan script to reflect the system's public classes, and fan keywords, and generate a fan.syn syntax definition file for Textpad.
Textpad lets you have half a dozen keyword categories, so I put keywords in 1, all pod names in 2, sys types in 3, common pods' types in 4, my own types in 5, and all the rest in 6; so now I got lotsa pretty colors.
Also I made triple-quotes be a comment for purposes of highlighting, and tweaked a couple other settings from the fan.syn in the Fan distro that looked like they were from the Java version.
I put the TextpadSyntax.fan and the generated fan.syn on the web in TextpadSyntax.zip. Have a look, use freely.
KevinKelley Wed 22 Jul 2009
For grins I wrote a little fan script to reflect the system's public classes, and fan keywords, and generate a
fan.syn
syntax definition file for Textpad.Textpad lets you have half a dozen keyword categories, so I put keywords in 1, all pod names in 2,
sys
types in 3, common pods' types in 4, my own types in 5, and all the rest in 6; so now I got lotsa pretty colors.Also I made triple-quotes be a comment for purposes of highlighting, and tweaked a couple other settings from the fan.syn in the Fan distro that looked like they were from the Java version.
I put the TextpadSyntax.fan and the generated fan.syn on the web in TextpadSyntax.zip. Have a look, use freely.