Monday, November 08, 2010 at 12:04 AM.

system.verbs.builtins.pikeRenderer.drivers.html.textsize

on textsize (textsize, adrprestring, adrpoststring) {
	local (fontsizestring = "");
	case string.lower (textsize) {
		"smallest" {
			fontsizestring = "-2"};
		"smaller" {
			fontsizestring = "-1"};
		"medium" {
			fontsizestring = ""}; //don't bother generating the font tag
		"larger" {
			fontsizestring = "+1"};
		"largest" {
			fontsizestring = "+2"}};
	if sizeof (fontsizestring) > 0 {
		adrprestring^ = adrprestring^ + "<font size=\"" + fontsizestring + "\">";
		adrpoststring^ = adrpoststring^ + "</font>"}}



This listing is for code that runs in the OPML Editor environment. I created these listings because I wanted the search engines to index it, so that when I want to look up something in my codebase I don't have to use the much slower search functionality in my object database. Dave Winer.