Tilde Terminal Toolkit
The libt3highlight library provides functions for syntax-highlighting different types of text files. Its main design goal is an easily restartable syntax highlighting, suitable for use in interactive text editors.
To make the syntax highlighting restartable, libt3highlight uses a single integer start-of-line state. However, it does provide several advanced features, such as dynamic end-of-state patterns, which make it possible to highlight complex languages like Perl and Bash with high fidelity.
libt3highlight version 0.4.0, 0.4.1 & 0.4.2 released
This release contains several changes to the interface for detecting languages, which make it possible to retrieve more information about the detected language. Basic highlighting for PHP was added, and the HTML highlighting had several small fixes.
libt3highlight version 0.3.5 released
This release adds the accidentally omitted do keyword for C++, and fixes some unallocated reads and writes in analyzing patterns.
libt3highlight version 0.3.4 released
This release adds the override keyword for C++, update the diff language specification to be more permissive and corrects the color for deletions in t3highlight when outputing to terminal.
Documentation is available for libt3highlight, and is included in the source package and the development binary packages. Documentation for the latest version can also be found here. It includes descriptions of both the syntax-highlighting files and the API.
The source for libt3highlight is available here. Older releases are available here. libt3highlight requires GNU libtool, libpcre version 8.00 or later, and libt3config to be compiled. libt3highlight versions before 0.3.0 can be built with older libpcre verions.
Binary packages for libt3highlight are available from the Tilde repositories.
You can reach me at: libt3highlight @ REMOVE ghalkes.nl.
Copyright © 2011-2014 G.P. Halkes
libt3highlight is distributed under the GNU General Public License version 3.