Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 0.7.3

Request #7077 [PATCH] Extend functionality
Submitted: 2006-03-09 12:22 UTC Modified: 2007-06-06 13:34 UTC
From: tasin at fhm dot edu Assigned: stoyan
Status: Closed Package: Text_Highlighter (version 0.6.9)
PHP Version: 4.4.1 OS: Linux
Roadmaps: (Not assigned)    
Subscription  


 [2006-03-09 12:22 UTC] tasin at fhm dot edu (W. Tasin)
Description: ------------ Hello, I made a patch to give Text_Highlighter some settings and make it more usable for me. Please look at http://pc01-lsw.ee.fhm.edu/wiki/Horde/WickedAndTextHighlighter . There you can download Html.diff It contains the following enhancements: - giving a start value for line numbering - make it possible to pass an optional map with style information (instead of class names) to the renderer - make it possible to pass a css name map to it (optional, too) - make <pre>-tag working with line-numbered output (same tag encapsulation as w/o line numbers) - setting "hl-main" class name before <pre>-tag, even for line-numbered output. (I think this is useful for css-files using ".hl-main pre" w/o considering if the output is with line numbers or not.) Please have also a look at: http://pear.php.net/bugs/bug.php?id=4230 Hope this patch is useful Ciao Walter

Comments

 [2007-06-06 13:34 UTC] stoyan (Stoyan Stefanov)
Thank you for your bug report. This issue has been fixed in the latest released version of the package, which you can download at http://pear.php.net/get/Text_Highlighter Hi Walter, Thanks very much for your patch and feature requests. I believe I've addressed all of the points here in the new release, but if you see something missing, please file a new bug/feature requests. Thanks again, Stoyan