What's new in Highlight 4.10
Dec 29, 2023
- Updated astyle lib to version 3.4.10
New in Highlight 4.9 (Dec 29, 2023)
- Updated astyle lib to version 3.4.9
- Added support for Elm (https://gitlab.com/saalen/highlight/-/issues/237)
- Added support for Factor (https://gitlab.com/saalen/highlight/-/issues/239)
- Added support for Cpp2
- Updated c.lang to include module keywords
- Fixed Lua nested string deprecation error (https://gitlab.com/saalen/highlight/-/issues/238)
New in Highlight 4.8 (Dec 29, 2023)
- Updated astyle lib to version 3.4.6
- Moved old yaml.lang to yaml-ansible.lang and added a new yaml definition (https://gitlab.com/saalen/highlight/-/issues/235)
- Omit size property in BBCode output if `--fragment` is set (https://gitlab.com/saalen/highlight/-/issues/234)
- Allowed font size unit with `--font-size` for HTML and ODT output (https://gitlab.com/saalen/highlight/-/merge_requests/145/)
- GUI: updated JP translation (https://gitlab.com/saalen/highlight/-/merge_requests/144)
New in Highlight 4.7 (Dec 29, 2023)
- Updated astyle lib to version 3.4.1
- CLI: fixed member variable initialization (https://gitlab.com/saalen/highlight/-/merge_requests/143)
New in Highlight 4.6 (May 24, 2023)
- Added `--service-mode` option to run highlight as long running process (https://gitlab.com/saalen/highlight/-/merge_requests/140)
- Added extras/highlight-service.py as an example for the service mode
- Updated astyle lib to version 3.3
- W32: added `--disable-echo` option (https://gitlab.com/saalen/highlight/-/merge_requests/140)
- W32: fixed output of ANSI sequences (https://gitlab.com/saalen/highlight/-/issues/194)
New in Highlight 4.5 (Mar 16, 2023)
- Added support for Hare
- Fixed `--no-trailing-nl` option for LaTeX output (https://gitlab.com/saalen/highlight/-/issues/216)
- Fixed typos in rnc.lang, spn.lang and znn.lang (https://gitlab.com/saalen/highlight/-/merge_requests/139)
- Fixed missing ngerman package for `--replace-quotes` option (https://gitlab.com/saalen/highlight/-/issues/222)
- Fixed quotes highlighting in XML (https://gitlab.com/saalen/highlight/-/issues/226)
- Updated file extension lists (https://gitlab.com/saalen/highlight/-/issues/227)
- Updated astyle lib to version 3.2 beta
New in Highlight 4.4 (Nov 14, 2022)
- Added support for Zig
- Added `Legacy` option in lsp.conf to add support for LSP servers without capabilities report
- Removed apidocs target in makefile (https://gitlab.com/saalen/highlight/-/issues/213)
- CLI: added `--ls-legacy` option
- GUI: added legacy checkbox in the LSP section
- GUI W32: fixed issue with non standard filename encodings (https://gitlab.com/saalen/highlight/-/issues/215)
New in Highlight 4.3 (Nov 14, 2022)
- Added support for Carbon
- Added support for Fortran77 star comments comments (https://gitlab.com/saalen/highlight/-/issues/208)
- Added support for PowerShell block comments (https://gitlab.com/saalen/highlight/-/issues/210)
- Fixed Python formatted string pattern (https://gitlab.com/saalen/highlight/-/issues/212)
- Added new shell completion generation script (https://gitlab.com/saalen/highlight/-/merge_requests/137/)
- W32: fixed Windows compilation headers (https://gitlab.com/saalen/highlight/-/merge_requests/138)
New in Highlight 4.2 (Mar 27, 2022)
- Added support for Critic markup (https://gitlab.com/saalen/highlight/-/issues/197)
- Added support for jam/ham (https://gitlab.com/saalen/highlight/-/issues/196)
- Added support for PureScript (https://gitlab.com/saalen/highlight/-/merge_requests/132/)
- Added support for Nix (https://gitlab.com/saalen/highlight/-/issues/200)
- Added ino file mapping / Arduino C (https://gitlab.com/saalen/highlight/-/issues/201)
- Fixed RTF page color attributes (https://gitlab.com/saalen/highlight/-/issues/195)
- Fixed identifier parsing in yaml.lang (https://gitlab.com/saalen/highlight/-/issues/190)
- Fixed symbol parsing in lisp.lang https://gitlab.com/saalen/highlight/-/issues/198
- Fixed string parsing in csharp.lang (https://gitlab.com/saalen/highlight/-/issues/199)
- Fixed string parsing in conf.lang (https://gitlab.com/saalen/highlight/-/issues/203)
- Added make target `install-lib-shared` to install shared lib (https://gitlab.com/saalen/highlight/-/issues/202)
- CLI W32: prevented automatic file pattern expansion (https://gitlab.com/saalen/highlight/-/issues/186)
- GUI: added Japanese translation (thanks to FunFun)
- GUI: disabled floating panel (state restore fails)
New in Highlight 4.1 (May 13, 2021)
- Improved handling of Custom theme attributes (https://gitlab.com/saalen/highlight/-/issues/182)
- Fixed wrong color code in edit-kwrite.theme
- Added rng file mapping (https://gitlab.com/saalen/highlight/-/merge_requests/129)
- Improved Lisp highlighting
- GUI: fixed highlighting options tab title (thanks to Craig)
New in Highlight 4.0 (Apr 2, 2021)
- Renamed `std` style name to `def`
- Version and README updates
New in Highlight 3.62 (Apr 2, 2021)
- Fixed `--list-scripts` output (thanks to Jens Schleusener)
New in Highlight 3.61 (Apr 2, 2021)
- Added `--syntax-supported` option
- Fixed indentation of Plain TeX output
New in Highlight 3.60 (Dec 23, 2020)
- Improved PHP 8 syntax support
- Added Emacs Org-Mode support (https://gitlab.com/saalen/highlight/-/issues/174)
- Fixed single argument and truecolor output of mark_lines.lua plug-in (https://gitlab.com/saalen/highlight/-/issues/164)
- Added lineno and column parameters to Decorate hook
- LIB: moved CodeGenerator::readUserStyleDef and getStyleDefinition to public (https://gitlab.com/saalen/highlight/-/issues/173)
New in Highlight 3.59 (Nov 16, 2020)
- HTML output: added `white-space: pre-wrap` to pre tag CSS
- Updated mark_lines.lua plug-in accept a line range as input parameter and output xterm256 terminal sequences
- Improved Ruby code folding of the outhtml_codefold plug-in
- Updated astyle lib to rev 672
- Added support for reStructured Text (https://gitlab.com/saalen/highlight/-/issues/170)
- Added support for Rego (openpolicyagent.org)
- Added `outhtml_copy_clipboard.lua` plugin
- CLI: adapted default xterm256/truecolor theme to terminal background colour
- CLI: adapted ANSI line numbers to terminal background colour (https://gitlab.com/saalen/highlight/-/issues/172)
- CLI: fixed segfault if the user home directory cannot be determined (https://gitlab.com/saalen/highlight/-/issues/171)
- GUI: initial font set to Monospace
- GUI: replaced highlight.xpm by highlight.png icon
New in Highlight 3.58 (Oct 18, 2020)
- Improved `--force` fallback argument handling (https://gitlab.com/saalen/highlight/-/issues/163)
- Added C++ attribute syntax support
- Added Lua fuction `StoreValue` to set and retrieve information across Lua states
- Added `extras/eclipse-themes/eclipse_color_themes.py` script to retrieve themes from eclipsecolorthemes.org
- Added support for Web Assembly Text
- Updated mark_lines.lua to output 16m terminal sequences (https://gitlab.com/saalen/highlight/-/issues/164)
- Fixed issues in bash.lang (https://gitlab.com/saalen/highlight/-/issues/161)
- Fixed Bash heredoc highlighting in bash_functions.lua (https://gitlab.com/saalen/highlight/-/issues/156)
- CLI: `highlight --version -q` only prints the version number
- GUI: added theme contrast indicator
New in Highlight 3.57 (May 15, 2020)
- Added support for Haml (https://gitlab.com/saalen/highlight/-/issues/140)
- Added support for Wren
- Added Lua function `OverrideParam`
- Fixed regression in xterm256 or truecolor output (https://gitlab.com/saalen/highlight/-/issues/152)
- fixed `--list-scripts` with read-only language definitions (https://gitlab.com/saalen/highlight/-/issues/154)
- Improved several language definitions
New in Highlight 3.56 (May 15, 2020)
- Added support for Sequence Alignment Maps (SAM files)
- Added empty-file mode to `--no-trailing-nl` (https://gitlab.com/saalen/highlight/issues/147)
- Fixed issue with `--syntax-by-name` waiting for stdin (https://gitlab.com/saalen/highlight/-/issues/151)
- Fixed issue with `--syntax` reading matching files in the current working directory (https://gitlab.com/saalen/highlight/-/issues/151)
- Fixed string parsing in lisp.lang (https://gitlab.com/saalen/highlight/-/issues/150)
- Fixed output of UTF-8 text in xterm256 or truecolor output (https://gitlab.com/saalen/highlight/-/issues/152)
- Fixed regex in js.lang (thanks to Jens Schleusener)
- Fixed calculation of testcase markers with UTF-8 input
- Allowed number literals with underscores in Java, Scala, D, Julia, C#, Perl and Ada definitions
- Added Nord theme (https://gitlab.com/saalen/highlight/-/merge_requests/125)
New in Highlight 3.55 (Jan 30, 2020)
- Improved handling of empty files in xterm256 and truecolor output (https://gitlab.com/saalen/highlight/issues/147)
- Added EncodingHint attributes to filetypes.conf and language definitions (https://gitlab.com/saalen/highlight/issues/141)
- CLI: allowed file paths as --theme and --syntax argument (https://gitlab.com/saalen/highlight/issues/145)
- GUI: removed deprecated QTime API call
New in Highlight 3.43 (May 10, 2018)
- updated astyle code to release 3.1 (Rev. 655)
- added webkit reformatting style
- improved several language definitions
- fixed Matlab string recognition (https://github.com/andre-simon/highlight/issues/61)
- fixed Autohotkey escape sequence recognition (thanks to Klaus Daube)
- added excel.lang (https://github.com/andre-simon/highlight/pull/60)
- improved Qt pro file (https://github.com/andre-simon/highlight/pull/59)
- CLI: added --reformat-option (https://github.com/andre-simon/highlight/issues/62)
- CLI: added --line-range (https://github.com/andre-simon/highlight/issues/64)
- GUI: added Bulgarian translation (thanks to Georgi Sotirov)
New in Highlight 3.38 (Jun 25, 2017)
- Fixed Bash variable highlighting issue
- Updated astyle code to release 3.0.1 (https://sourceforge.net/p/astyle/bugs/438/)
- Added bash_ref_man7_org.lua plugin
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.35 (Apr 5, 2017)
- fixed code folding plugin to support Ruby conditional modifiers
- fixed JSON definition (thanks to Timothee Cour)
- fixed output of unknown syntax warning with applied force switch (thanks to Andy)
- added state trace parameter to Decorate plug-in function
- added GDScript definition and edit-godot theme (thanks to Tristano Ajmone)
- updated SWIG code samples
- updated Artistic Style lib (SVN Rev. 553)
- revised docs
- CLI: fixed creation of hidden files if output filename is prepended by its input path
- CLI: added switch --stdout (https://sourceforge.net/p/syntaxhighlight/bugs/14/)
New in Highlight 3.27 (Jan 22, 2016)
- improved outhtml_codefold.lua to ignore brackets on the same line
- added RTF output to mark_lines.lua
- fixed Powershell and NSIS definitions
- added JSON and Github Markdown definitions
- CLI: added --keep-injections option to force plugin injection output with -f
- GUI: added keep injections checkbox
- GUI: fixed crash after removing selected plugins
New in Highlight 3.22 (Feb 24, 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 3, 2014)
- updated astyle code to release 2.05
- added astyle reformatting style vtk
New in Highlight 3.19 (Sep 18, 2014)
- added bold, italic and underline attributes to xterm256 ANSI output
- fixed assembler mapping in filetypes.conf
- added Swift definition
- improved ASP, F#, OCaml and Lisp syntax definitions
- added interpolation patterns to several definitions
- updated base URLs in cpp_ref_gtk_gnome and cpp_ref_qtproject plugins
- CLI: added Pango markup output option
New in Highlight 3.18 (Apr 10, 2014)
- filenames without extension (ie. makefile) can be mapped in filetypes.conf (suggested by Sam Craig)
- fixed Rexx highlighting
- added GDB language definition (thanks to A. Aniruddha)
- added the.theme (thanks to Mark Hessling)
New in Highlight 3.17 (Jan 18, 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 27, 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)
- added support for Crack (thanks to Conrad Steenberg)
- added XML shebang regex (thanks to Ferry Huberts)
- added hints to makefile to deal with Lua 5.1 and LuaJIT system libs
- updated cpp_ref_gtk_gnome.lua plug-in
- updated cpp_ref_cplusplus_com.lua plug-in
- CLI: fixed segfault if --force was applied and unknown files were parsed (thanks to Jussi Judin)
- GUI: fixed unselected theme after first program start
New in Highlight 3.12 (Oct 6, 2012)
- CSS class name is omitted in HTML output if class-name option is set to NONE
- added support for highlighting of string interpolation
- added support for Dart and TypeScript
- fixed SWIG module
- GUI: added Simplified Chinese translation (thanks to Love NoAny)
New in Highlight 3.11 Beta (Aug 30, 2012)
- replaced Pattern/Matcher classes by the Boost xpressive library (now swig example is broken)
- updated Relax NG syntax (thanks to Roger Sperberg)
- added new oxygenated theme (thanks to Roger Sperberg)
- fixed highlight.pro to include correct lua5.1 paths
- GUI: fixed shebang recognition
New in Highlight 3.10 Beta (Jul 24, 2012)
- fixed HTML ordered lists to improve copy&paste in browsers (suggested by Nash)
- changed default output from HTML 4.01 to HTML5
- changed default HTML font family to include the generic monospace font
- added ODT Flat XML output format (--out-format=odt)
- added fontenc package in LaTeX output (patch by Yimin Li)
- fixed RTF hyperlink output in several plug-ins
- removed ctags option (functionality was replaced by plug-in)
- CLI: added --wrap-no-numbers option (patch by Michael Enßlin)
- GUI: replaced Qt file dialogs by native dialogs
New in Highlight 3.9 (May 2, 2012)
- enhanced the plug-in interface (added Decorator function and Injections property)
- added several example plug-ins which show how to add keyword links to online references (e.g. cplusplus.com, perldoc.perl.org, qtproject.org)
- added ctags plugin (ctags_html_tooltips.lua)
- improved Perl and N3 definitions (thanks to Heiko Jansen)
- CLI: marked --ctags-file option as deprecated
- CLI: added --plug-in-read option to define an input file for plug-ins
- CLI: fixed file suffix recognition
- GUI: added input field for a plug-in input file
- GUI: fixed initial input tab selection
- GUI: set initial font selection to Courier
New in Highlight 3.8 (Mar 1, 2012)
- updated astyle code to release 2.02.1
- fixed SWIG perl binding makefile (patch by David Bremner)
- fixed shebang recognition (patch by Georgios M. Zarkadas)
- fixed file suffix recognition (patch by Georgios M. Zarkadas)
- fixed memory leak in astyle's SSFormatter (patch by MENG Wei)
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.3 (Dec 30, 2010)
- updated astyle code to release 2.01
- fixed overwriting of files with the same name in recursive batch mode (thanks to Ramanathan U.)
- added DataDir class to SWIG interface (patch by David Bremner)
- added Andes theme (thanks to Roger Sperberg)
- enabled deprecated @highlight pass-through (suggested by David Bremner)
- dropped oceandeep theme
- updated documentation
New in Highlight 3.1 (Aug 26, 2010)
- 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 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)
- fixed SVG output (thanks to Xico)
- GUI: added new icon
New in Highlight 2.12 (Sep 10, 2009)
- fixed bug with $INCLUDE statement
- fixed ctags file parsing
- added nested language recognition within a source file (suggested by Pavel Striz)
- added $NESTED statement to language definitions (pas, html, tex)
- added support for F# (fs.lang)
- added support for haXe (hx.lang)
- improved various language definitions
- revised documentation
- LIB: added version to shared lib output name
- CLI: added options --start-nested and --print-style
New in Highlight 2.11 (Jul 28, 2009)
- added BBCode output option (--bbcode, suggested by Qui Peccavit)
- added new --delim-cr option to cope with MacOS 9 files (suggested by Steven Haddock)
- added shared lib target (make lib-shared, suggested by Dario Teixeira)-list of installed languages (--list-langs) was enhanced to include mapped file extensions (suggested by Martin Kammerlander)
- improved many colour themes using Agave (agave.sf.net)
New in Highlight 2.10 (Jun 26, 2009)
- Fixed CR parsing bug on MacOS (thanks to Shiro Wilde)
- fixed SWIG makefile (thanks to David Bremner)
- license changed from GPLv2 to GPLv3 (incl. included libs)
- updated Artistic Style lib to version 1.23
- new indentation schemes: stroustrup, whitesmith, banner
- removed indentSchemes and helpmsg directories
- removed README_INDENT
- replaced ide-devcpp theme by a new jedit theme
- added support for Interactive Data Language (idlang, thanks to Roberto
- Mendoza)
- added support for Rebol, Oz, Mercury, Zonnon, ATS (Applied Type System),
- CHILL, NetRexx, Inno Setup and INTERLIS
- added pp, rjs, jnlp, groovy, gnad, es, sblc, ooc, gst, sq extensions
- to filetypes.conf
- improved Prolog, Pike, Oberon, Nice, Java, Lisp, Lua, Haskell, C# and SML
- definitions
- improved spec.lang for RPM (thanks to Luoyi Ly)
- CLI: option --help-lang is deprecated
- API: dropped setSpecialOptions(), renamed initializing methods to init
New in Highlight 2.9 (May 4, 2009)
- added more customized boxes for the LaTeX --pretty-symbols switch (thanks to Romain Francois)
- GUI: fixed makefile to pass costum paths to the Qt project makefile (thanks to Joerg Germeroth)
- GUI: reduced window height (thanks to Fidel Barrera)
- GUI: added Spanish translation (thanks to Fidel Barrera)
- GUI: added drag and drop for input files
New in Highlight 2.8 (Apr 9, 2009)
- added --pretty-symbols option to improve LaTeX output quality of tilde and braces (thanks to Romain Francois)
- omitted warning message if --syntax parameter is contained in the --skip list (thanks to Bob Smith)
- included language descriptions in --list-langs output
- dropped dependency of --replace-quotes and --fragment options
- enhanced Python SWIG example (testmod.py)
- added qmake language definition
- fixed SWIG scripts (thanks to David Bremner)
- fixed gcc 4.4 compilation (patch by Jochen Schmitt)
- dropped core/html32generator.*
- dropped src/gui (wxWidgets based interface)
- GUI: rewrote the user interface using Qt
New in Highlight 2.7 (Jan 15, 2009)
- changed versioning scheme to major.minor
- fixed infinite loop in the W32 build when outputting LaTeX/TeX as UTF-8 (thanks to Christophe Bal)
- fixed VHDL and Scilab definitions (thanks to Frederik Teichert)
- fixed XML definition (thanks to Edin)
- fixed -r switch (thanks to Frederik Teichert)
- fixed default number recognition regex
- added Clojure language definition (thanks to Pierre Larochelle)
- added wrapping arrow in LaTeX/HTML output if --wrap/--wrap-simple is set (suggested by Frederik Teichert)
- updated ide-msvcpp.style to match current Visual Studio appearance (suggested by Pieter Kruger)
- added make targets "lib" and "cli"
- organized sources in subdirectories (core, cli, gui) and adjusted makefiles