Re: PhD request about highlight source code
| From: | Richard Quadling | Date: | Thu, 29 Jan 2009 18:15:14 +0000 |
| Subject: | Re: PhD request about highlight source code | ||
| References: | 1 2 3 4 5 6 7 8 9 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969380095@lists.php.net to get a copy of this message | ||
2009/1/26 Christian Weiske <cweiske@cweiske.de>:
> Hello Richard,
>
>
>> >>>>> Done ->
>> >>>>> http://bugs.php.net/bug.php?id=47201
>> >>>> I've implemented it; it will be in 0.4.4
>> >>> Very impatient to use it :)
>> > I found a problem when using different header type usage with Geshi. My
>> > technical explains will follow offline soon. Just to let me finish my last
>> > tests.
>> Got this working on phpdoc and peardoc (had to play around with the
>
> It requires the highlighter class being available in the include path via the PEAR rules:
> Take class name, replace '_' with '/' and append a '.php' to it.
>
> --
> Regards/Mit freundlichen Grüßen
> Christian Weiske
>
Tiny little bug which only generates an issue in IE (tested in
IE/Chrome/Firefox) and CHM files where you cut and paste an example.
There are no newlines so the example code runs into 1 line.
Adding ...
$geshi->set_header_type(GESHI_HEADER_DIV);
solves this.
See http://bugs.php.net/bug.php?id=47242
Richard.
--
-----
Richard Quadling
Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731
"Standing on the shoulders of some very clever giants!"