TTextHighlighter
API Manual
TTextHighlighter does syntax highlighting for its body content, including both static text and the rendering results of its child controls. The text being highlighted follows the syntax of the specified Language, which can be 'php' (default), 'prado', 'css', 'html', etc. Here, 'prado' stands for the syntax of PRADO control templates.
If line numbers are desired in front of each line, set ShowLineNumbers to true.
To use TTextHighlighter, simply enclose the contents to be syntax highlighted within the body of a TTextHighlighter control. The following example highlights a piece of PHP code,
<com:TTextHighlighter ShowLineNumbers="true">
<?php
$str = 'one|two|three|four';
print_r(explode('|', $str, 2)); // will output an array
</com:TTextHighlighter>