From 3126610fdab66c4e83de00d36a762af30199238d Mon Sep 17 00:00:00 2001 From: xue <> Date: Thu, 29 Dec 2005 12:20:57 +0000 Subject: Modified TTextHighlighter so that it can highlight its body content including output of its child controls. Modified ViewSource to make use of TTextHighlighter. --- framework/IO/TTextWriter.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'framework/IO') diff --git a/framework/IO/TTextWriter.php b/framework/IO/TTextWriter.php index 17829acf..5f6a92cb 100644 --- a/framework/IO/TTextWriter.php +++ b/framework/IO/TTextWriter.php @@ -1,13 +1,19 @@ _str; + $this->_str=''; + return $str; } public function write($str) { + $this->_str.=$str; } public function writeLine($str='') -- cgit v1.2.3