Highlight Changelog

What's new in Highlight 3.54

Nov 11, 2019
  • fixed default colour output in BBCode (https://gitlab.com/saalen/highlight/issues/134)
  • fixed corner case in sh.lang
  • fixed syntax tests with UTF-8 input (https://gitlab.com/saalen/highlight/issues/123)
  • added support for Bash in outhtml_codefold.lua plug-in
  • added ballerina.lang
  • added block strings to java.lang
  • added author hints in themes and language definitions
  • added C++20 reserved words in c.lang
  • added editorconfig file and validated all files accordingly (thanks to Tristano Ajmone)
  • CLI: fixed `--list-scripts` with `-d` or HIGHLIGHT_DATADIR env variable (https://gitlab.com/saalen/highlight/issues/139)
  • GUI W32: replaced multibyte path trace window by startup hint if NtfsDisable8dot3NameCreation is set
  • GUI: removed AsciiDoc instruction lines from the README popup window

New in Highlight 3.42 (Apr 25, 2018)

  • fixed HL_OUTPUT in Lua state for HL_FORMAT_XHTML and HL_FORMAT_TRUECOLOR values
  • fixed lib-shared make target
  • updated astyle code to release 3.1.0 beta
  • added Polygen and EBNF2 syntax definitions (thanks to Tristano Ajmone)
  • added pywal terminal colouring template in extras/pywal
  • added reformatting style ratliff (replaces banner)
  • added extras/langDefs-resources/cleanslate.lang (thanks to Tristano Ajmone)
  • improved Perl6 compatibility
  • improved PHP string interpolation
  • improved Haskell definition (https://github.com/andre-simon/highlight/pull/52)
  • CLI: added --canvas option to define background color padding in ANSI output (https://github.com/andre-simon/highlight/issues/40)
  • GUI: added French translation (thanks to Antoine Belvire)
  • GUI: added Scripts tab (suggested by Tristano Ajmone)
  • GUI: minor bugfixes

New in Highlight 3.40 (Oct 29, 2017)

  • fixed Ruby string parsing (thanks to Jens Schleusener)
  • fixed segfault on sparc64 (patch by James Clarke)
  • fixed PureBasic definition (https://github.com/andre-simon/highlight/issues/25)
  • added CMake definition (https://github.com/andre-simon/highlight/issues/20)
  • added email definition (https://github.com/andre-simon/highlight/issues/21)
  • linked scm suffix to lisp definition (https://github.com/andre-simon/highlight/issues/22)
  • W32 CLI: support HIGHLIGHT_DATADIR and --data-dir options (https://github.com/andre-simon/highlight/issues/24)
  • revised documentation

New in Highlight 3.36 (Apr 5, 2017)

  • fixed code folding plugin to support more Ruby conditional modifiers (thanks to Jens Schleusener)
  • fixed Perl quoted string highlighting (thanks to Jens Schleusener)
  • added new GeneratorOverride syntax definition parameter
  • added Filenames parameter in filetypes.conf to assign input filenames to syntax types (suggested by Andy)
  • added FASM definition and edit-fasm theme (thanks to Tristano Ajmone)
  • added outhtml_ie7_webctrl plug-in (suggested by Tristano Ajmone)
  • GUI: file extensions can be configured for multiple languages, triggers syntax selection prompt
  • GUI: added Italian translation (thanks to Tristano Ajmone)

New in Highlight 3.24 (Nov 8, 2015)

  • Coloured output in HTML, XHTML, RTF, ODT, TeX, LaTeX, SVG and BBCode format
  • Supports 195 programming languages
  • Includes 80 colour themes
  • Syntax elements are defined as regular expressions or plain string lists
  • Customizable keyword groups
  • Recognition of nested languages
  • Reformatting and indentation of C, C++, C# and Java source code
  • Language definitions and themes are Lua scripts
  • Plug-In interface to tweak syntax parsing and coloring
  • CLI, GUI and Lib builds available
  • Platform independent

New in Highlight 3.23 (Aug 5, 2015)

  • added rs.lang
  • added conf.lang (thanks to Victor Ananjevsky)
  • added some extensions in filetypes.conf (patch by Victor Ananjevsky)
  • fixed Matlab definition and style (thanks to Justin Pearson)
  • CLI: fixed --list-scripts with unknown argument (thanks to Jens Schleusener)

New in Highlight 3.22 (Apr 22, 2015)

  • updated astyle code to release 2.05.1
  • fixed shebang recognition (thanks to Victor Ananjevsky)
  • GUI: added option to define line numbering start

New in Highlight 3.21 (Feb 3, 2015)

  • added support for LESS, SASS and Stylus CSS processors (suggested by Marcel Bischoff)
  • added support for Lua 5.3, removed LUA52 makefile option
  • fixed heredoc matching in perl.lang (thanks to cornucopia)
  • fixed Haskell lang (thanks to Daan Michiels)
  • fixed RNC lang (thanks to Daan Michiels)
  • fixed regex pattern in js.lang

New in Highlight 3.20 (Dec 2, 2014)

  • updated astyle code to release 2.05
  • added astyle reformatting style vtk

New in Highlight 3.19 (Oct 30, 2014)

  • Coloured output in HTML, XHTML, RTF, ODT, TeX, LaTeX, SVG and BBCode format
  • Supports 180 programming languages
  • Includes 80 colour themes
  • Syntax elements are defined as regular expressions or plain string lists
  • Customizable keyword groups
  • Recognition of nested languages
  • Reformatting and indentation of C, C++, C# and Java source code
  • Language definitions and themes are Lua scripts
  • Plug-In interface to tweak syntax parsing and coloring
  • CLI, GUI and Lib builds available
  • Platform independent

New in Highlight 3.17 (Jan 17, 2014)

  • Updated astyle code to release 2.04
  • Added astyle reformatting styles google, pico and lisp
  • Improved raw string parsing in cs.lang (patch by smdn.jp)
  • Added regex recognition in js.lang (patch by Troy Sankey)
  • Added PDF language definition (thanks to Roland Hieber)

New in Highlight 3.16 (Oct 4, 2013)

  • updated astyle code to release 2.03
  • added heredoc string literal parsing for Lisp, Perl, PHP, Ruby and Bash
  • revised several language definitions
  • added DataDir::searchDataDir for the Perl SWIG bindings (thanks to David Bremner)
  • added SWIG PHP binding (patch by G. Wijaya)

New in Highlight 3.15 (Aug 22, 2013)

  • updated Diluculum code to release 1.0 (support of Lua 5.2)
  • patched Diluculum to support Lua 5.1 and 5.2
  • added support for Yang (thanks to A. Aniruddha)
  • fixed Ruby definitions

New in Highlight 3.14 (Jun 5, 2013)

  • added HeaderInjection and FooterInjection variables for syntax plug-ins
  • fixed handling of CRLF files on Linux (suggested by William Bell)
  • replaced single data directory by a dynamic config file search; see README (suggested by Daniel)
  • added plug-ins outhtml_parantheses_matcher.lua, outhtml_keyword_matcher.lua
  • CLI: added --list-scripts option
  • CLI: marked --data-dir, --list-langs, --list-themes options as deprecated
  • CLI: removed --add-config-dir option

New in Highlight 3.13 (Feb 7, 2013)

  • Coloured output in HTML, XHTML, RTF, ODT, TeX, LaTeX, SVG and BBCode format
  • Supports 180 programming languages
  • Includes 80 colour themes
  • Syntax elements are defined as regular expressions or plain string lists
  • Customizable keyword groups
  • Recognition of nested languages
  • Reformatting and indentation of C, C++, C# and Java source code
  • Language definitions and themes are Lua scripts
  • Plug-In interface to tweak syntax parsing and coloring
  • CLI, GUI and Lib builds available
  • Platform independent

New in Highlight 3.12 (Oct 6, 2012)

  • CSS class names may now be omitted in HTML output.
  • Highlighting of string interpolation has been added.
  • Dart and TypeScript are supported.
  • The SWIG module example code has been fixed.

New in Highlight 3.11 (Aug 24, 2012)

  • The included regex parser was replaced by Boost xpressive.
  • Relax NG recognition was improved.
  • Several minor bugs were fixed.

New in Highlight 3.9 (May 2, 2012)

  • The plug-in interface was enhanced to allow output text manipulation.
  • Some plug-ins were added that insert hyperlinks to several online API sites in HTML, LaTeX, and RTF output.
  • Perl and N3 language definitions were improved.
  • Some minor bugs were fixed.

New in Highlight 3.8 (Mar 1, 2012)

  • The astyle lib was updated.
  • A memory leak in astyle was fixed.
  • Shebang and file suffix recognition were improved.

New in Highlight 3.7 (Jan 6, 2012)

  • added support for Biferno (thanks to Sandro Bilbeisi)
  • added support for RPL (thanks to Frank Seidinger)
  • added support for Ceylon
  • fixed Ruby definition
  • HTML font string may contain a list of fonts, which is not enclosed in quotes (suggested by Sebastiano Poggi)
  • GUI: added --portable command line option to save config files in the current working directory instead of the user directory (suggested by Royi Avital)
  • GUI: fixed some language mappings

New in Highlight 3.6 (Oct 12, 2011)

  • updated astyle code to release 2.02
  • fixed --force option (thanks to Stefan Bühler)

New in Highlight 3.5 (Jun 5, 2011)

  • updated astyle code to release 2.02
  • fixed --force option (thanks to Stefan Bühler)

New in Highlight 3.4 (Mar 31, 2011)

  • added support for ABC, Algol, AS/400 CL, BCPL, Limbo, Gambas, JavaFX, RPG, Transact-SQL, PL/Perl, PL/Tcl, PL/Python, Charmm
  • fixed web plugins (Serendipity, DokuWiki, Wordpress)
  • fixed BBCode closing tag order
  • GUI: Updated Czech translation (thanks to Pavel Fric)

New in Highlight 3.2 (Nov 15, 2010)

  • added plugin function AddKeyword (suggested by Michael Serrano)
  • language definitions are cached instead of being reloaded if input syntax changes
  • added keyword group ID parameter to the plugin function OnStateChange
  • added plugin script bash_functions.lua
  • added theme description in output style's comment
  • added enum and union keywords in c.lang (thanks to Thiago)
  • added dl linking flag in Makefile to fix Debian build error (thanks to Michael Serrano)
  • added NDEBUG flag in makefile to disable asserts

New in Highlight 3.1 (Aug 25, 2010)

  • updated Diluculum to version 0.5.3
  • fixed README -fixed conversion without highlighting (--syntax txt)
  • fixed msxml definition (thanks to Andrei Rosca)
  • added edit-flashdevelop theme (thanks to Andrei Rosca)
  • CLI: fixed minor bugs

New in Highlight 3.1 (Jun 22, 2010)

  • This release enables loading of multiple plugins.
  • It adds support for MXML and fixed HTML, XML, CSS, Actionscript, and JavaScript definitions.
  • Some VIM color themes have been converted.

New in Highlight 3.0 (Jun 5, 2010)

  • language definitions, themes, filetypes.conf were converted to Lua scripts (try examples/*2to3.py to convert old files)
  • added plugin option to enable user scripts
  • renamed *.style files to *.theme
  • moved include files from src/core to src/include
  • moved examples/plugins to examples/web_plugins
  • renamed linenumbers to linenumbers
  • renamed several language definitions and themes
  • fixed several string delimiter issues (Ruby, Lua)
  • changed default theme for xterm256 output to editvimdark
  • changed short options: O is outformat, d is outdir, T is doctitle
  • disabled markline feature
  • disabled adddatadir feature
  • disabled separate output format options (use outformat instead)
  • disabled XML output (use SVG or XHTML)
  • New dependencies: Lua5.1devel, Boost Headers (Bind)

New in Highlight 2.16 (Apr 1, 2010)

  • updated astyle code to release 1.24
  • added indentation styles 1tbs and horstmann
  • added --no-trailing-nl switch (suggested by Adiel Mittmann)
  • added Modula2 definition (thanks to Benjamin Kowarsch)
  • added EBNF definition (thanks to Mate Ory)
  • added ABNF, AutoHotKey, BBCode and Clean language definitions
  • updated C++ definition to support C++0x syntax
  • added StartupNotify switch in desktop file (patch by Jochen Schmitt)

New in Highlight 2.15 (Feb 27, 2010)

  • improved HTML nested language patterns (thanks to Simone)
  • improved Rexx and PL1 definitions (thabnks to Robert Prins)
  • added support for NXC and NBC
  • GUI: added copy and paste support (thanks to Torsten Flamminger)
  • GUI: fixed preview of UTF-8 input

New in Highlight 2.13 (Oct 13, 2009)

  • SVG output and minor bugs in the optional GUI were fixed.

New in Highlight 2.12 (Sep 10, 2009)

  • Recognition of nested languages was added (i.e. Pascal+Assembly or HTML+PHP+JS+CSS).
  • Support for F# and haXe was added.
  • Several language definitions were improved.
  • Minor bugs were fixed.

New in Highlight 2.10 (Jun 25, 2009)

  • New license: GPLv3 replaced GPLv2
  • New indent styles: Banner, Stroustrup, Whitesmith
  • New jEdit theme (see below)
  • Added support for ATS, CHILL, Inno Setup, Interactive Data Language, INTERLIS, Mercury, NetRexx, Oz, Rebol and Zonnon
  • Improved definitions of RPM Spec, Prolog, Pike, Oberon, Nice, Java, Lisp, Lua, Haskell, C# and SML
  • Bugfix CR parsing for MacOS

New in Highlight 2.8 (Apr 9, 2009)

  • new user interface
  • improved LaTeX output
  • improved SWIG support

New in Highlight 2.7 (Jan 14, 2009)

  • fixed VHDL and XML definitions
  • added support for Clojure
  • several bugs were fixed

New in Highlight 2.6.14 (Nov 1, 2008)

  • HTML output may include metainformation from ctags files.
  • Output formatting command line options have been harmonized with GNU source-highlight.
  • ADA95, C#, Eiffel, Fortran, TCL, and Bash definitions have been fixed.
  • Support for Vala was added.