by Dan East » Nov 13, 2002 @ 5:48pm
This is the only part you need:
//The following vars determine the exact HTML that is output to begin and end
//each type of coloring
//Used at the beginning and end of the entire code block:
$code_start='<div style=\'color=black;display=inline\'>';
$code_end='</div>';//'</b></font>';
//Reserved keywords (for, else, if, case, etc):
$keyword_start='<div style=\'color=blue;display=inline\'>';
$keyword_end='</div>';
//Strings, single and double quote (' & "):
$string_start='<div style=\'color="#840000";display=inline\'>';
$string_end='</div>';
//Comments (// and /* */):
$comment_start='<div style=\'color=green;display=inline\'>';
$comment_end='</div>';
//Operators (+, ++, ., ;, etc):
$operator_start='<div style=\'color=red;display=inline\'>';
$operator_end='</div>';
//Numbers (123, 0xffff, etc):
$number_start='<div style=\'color=purple;display=inline\'>';
$number_end='</div>';
//End HTML syntax vars
Dan East