Highlight 2.6.7 (Default branch)


 
Thread Tools Search this Thread
Special Forums News, Links, Events and Announcements Software Releases - RSS News Highlight 2.6.7 (Default branch)
# 1  
Old 01-05-2008
Highlight 2.6.7 (Default branch)

ImageHighlight is a universal converter from sourcecode to HTML, XHTML, RTF, TeX, LaTeX, andXML. (X)HTML output is formatted by CascadingStyle Sheets. It supports more than 100 programminglanguages, and includes 40 highlighting colorthemes. It's possible to easily enhance theparsing database. The converter includes somefeatures to provide a consistent layout of theinput code.License: GNU General Public License (GPL)Changes:
Support for RTF background colour was added. Regex support was enhanced. Several language definitions were improved.Image

More...
Login or Register to Ask a Question

Previous Thread | Next Thread
Login or Register to Ask a Question
KinoSearch1::Highlight::Highlighter(3pm)		User Contributed Perl Documentation		  KinoSearch1::Highlight::Highlighter(3pm)

NAME
KinoSearch1::Highlight::Highlighter - create and highlight excerpts SYNOPSIS
my $highlighter = KinoSearch1::Highlight::Highlighter->new( excerpt_field => 'bodytext', ); $hits->create_excerpts( highlighter => $highlighter ); DESCRIPTION
KinoSearch1's Highlighter can be used to select a relevant snippet from a document, and to surround search terms with highlighting tags. It handles both stems and phrases correctly and efficiently, using special-purpose data generated at index-time. METHODS
new my $highlighter = KinoSearch1::Highlight::Highlighter->new( excerpt_field => 'bodytext', # required excerpt_length => 150, # default: 200 formatter => $formatter, # default: SimpleHTMLFormatter encoder => $encoder, # default: SimpleHTMLEncoder ); Constructor. Takes hash-style parameters: o excerpt_field - the name of the field from which to draw the excerpt. This field must be "vectorized". o excerpt_length - the length of the excerpt, in bytes. This should probably use characters as a unit instead of bytes, and the behavior is likely to change in the future. o formatter - an object which subclasses KinoSearch1::Highlight::Formatter, used to perform the actual highlighting. o encoder - an object which subclasses KinoSearch1::Highlight::Encoder. All excerpt text gets passed through the encoder, including highlighted terms. By default, this is a SimpleHTMLEncoder, which encodes HTML entities. o pre_tag - deprecated. o post_tag - deprecated. COPYRIGHT
Copyright 2005-2010 Marvin Humphrey LICENSE, DISCLAIMER, BUGS, etc. See KinoSearch1 version 1.00. perl v5.14.2 2011-11-15 KinoSearch1::Highlight::Highlighter(3pm)