Highlight Portable Changelog

What's new in Highlight Portable 4.10

Oct 22, 2023
  • Updated astyle lib to version 3.4.10

New in Highlight Portable 4.9 (Oct 18, 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 Portable 4.8 (Aug 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 Portable 4.7 (Jul 17, 2023)

  • Updated astyle lib to version 3.4.1
  • CLI: fixed member variable initialization

New in Highlight Portable 4.6 (May 23, 2023)

  • Added `--service-mode` option to run highlight as long running process
  • Added extras/highlight-service.py as an example for the service mode
  • Updated astyle lib to version 3.3
  • W32: added `--disable-echo` option
  • W32: fixed output of ANSI sequences

New in Highlight Portable 4.5 (Mar 15, 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 Portable 4.4 (Nov 13, 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 Portable 4.3 (Sep 29, 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 Portable 4.2 (Mar 23, 2022)

  • Dded 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 Portable 4.1 (May 12, 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 Portable 4.0 (Apr 2, 2021)

  • Renamed `std` style name to `def`
  • Version and README updates

New in Highlight Portable 4.0 Beta 6 (Mar 19, 2021)

  • added user-select default property to HTML line number style

New in Highlight Portable 4.0 Beta 5 (Mar 19, 2021)

  • revised color themes

New in Highlight Portable 4.0 Beta 4 (Mar 19, 2021)

  • added two more keyword styles for default themes
  • added Custom theme attributes for Plain TeX, LaTeX, SVG and Pango
  • enabled syntax message output with `--ls-syntax-error`
  • GUI: enabled syntax error checkbox

New in Highlight Portable 4.0 Beta 3 (Mar 19, 2021)

  • added Custom theme attribute
  • enabled inline stylesheets with `--ls-hover`
  • added Error and Hover theme properties
  • enabled syntax error highlighting with `ls-semantic`

New in Highlight Portable 4.0 Beta 2 (Mar 19, 2021)

  • improved LSP message handling
  • added delay LSP parameter
  • added LSP semantic token styles to base16 themes
  • CLI: enabled `--ls-semantic` option
  • GUI: enabled semantic checkbox and a server capability test

New in Highlight Portable 4.0 Beta 1 (Mar 19, 2021)

  • added support for the language server protocol
  • added new configuration file lsp.conf
  • CLI: added `ls-profile`, `--ls-workspace`,`--ls-hover`
  • CLI: deprecated `--start-nested`, `--reformat=user`, `--reformat-option`, `--base16`, `--delim-cr`, `--plug-in-read`
  • GUI: added LSP configuration tab

New in Highlight Portable 3.60 (Dec 21, 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 Portable 3.59 (Nov 13, 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 Portable 3.58 (Sep 9, 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 Portable 3.57.1 (Jul 13, 2020)

  • W32: updated Qt, removed Mingw32 DLL dependencies

New in Highlight Portable 3.57 (May 14, 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
  • Windows GUI: added dark mode

New in Highlight Portable 3.56 (Apr 8, 2020)

  • Added support for Sequence Alignment Maps (SAM files)
  • Added empty-file mode to `--no-trailing-nl`
  • Fixed issue with `--syntax-by-name` waiting for stdin
  • Fixed issue with `--syntax` reading matching files in the current working directory
  • Fixed string parsing in lisp.lang
  • Fixed output of UTF-8 text in xterm256 or truecolor output
  • 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

New in Highlight Portable 3.55 (Jan 29, 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 Portable 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 Portable 3.53 (Aug 3, 2019)

  • Fixed out-of-range exception with repeated `AddKeyword` calls
  • Added `KeywordFormatHints`, `Priority` and `Constraints` elements to syntax definitions
  • Added Lua function `AddPersistentState` (https://gitlab.com/saalen/highlight/issues/112)
  • Renamed md.lang to markdown.lang
  • Added Fish syntax definition (thanks to James Lee)
  • Makefile: added _FILE_OFFSET_BITS=64 flag
  • CLI: added optional fallback syntax to `--force` (https://gitlab.com/saalen/highlight/issues/126)
  • CLI: added option `--max-size` (https://gitlab.com/saalen/highlight/issues/127)
  • GUI: added multibyte path trace window
  • GUI: fixed superflouos creation of the same stylesheet file

New in Highlight Portable 3.52 (May 29, 2019)

  • Added negation `~` to test state indicators (https://gitlab.com/saalen/highlight/issues/122)
  • Added support for Hugo (https://gitlab.com/saalen/highlight/merge_requests/113)
  • Added 5 duotone themes (https://gitlab.com/saalen/highlight/merge_requests/115)
  • CLI: fixed segfault with `--force` (https://gitlab.com/saalen/highlight/issues/125)
  • GUI: limited font selection to monospace fonts (https://gitlab.com/saalen/highlight/issues/124)

New in Highlight Portable 3.51 (May 18, 2019)

  • added `white-space: pre` in styles
  • replaced ' by ' (https://bugs.debian.org/927410)
  • fixed index file format (missing close tags)
  • moved syntax recognition functions to DataDir class
  • added regular expressions and default false values to --verbose output
  • fixed `--list-cat` without `--list-scripts` (https://gitlab.com/saalen/highlight/issues/107)
  • added optional argument to `--base16` (https://gitlab.com/saalen/highlight/issues/113)
  • added default base16 themes (https://gitlab.com/saalen/highlight/issues/113)
  • added `--isolate` option (https://gitlab.com/saalen/highlight/issues/118)
  • improved UTF16 input path handling on Windows

New in Highlight Portable 3.50 (Mar 31, 2019)

  • added lineno, column parameters to OnStateChange hook
  • added support for Crystal (thanks to C R Jaensch)
  • added support for Slim (https://gitlab.com/saalen/highlight/merge_requests/85)
  • compress man docs during installation (thanks to Chris Mayo)
  • fixed several typos in documentaion and manpages
  • CLI: added `--syntax-by-name` option (suggested by Chris Mayo)
  • CLI: removed deprecated `--list-langs` and`--list-themes` options
  • GUI: added terminal sequence output options (https://gitlab.com/saalen/highlight/issues/110

New in Highlight Portable 3.49 (Feb 8, 2019)

  • Fixed more problems with syntax test indicators reporting wrong states
  • Added support for Meson, Solidity, TOML and Terraform
  • Improved Perl highlighting
  • Added Categories field to all config files
  • CLI: added category info in --list-scripts output
  • CLI: added --list-cat option (https://gitlab.com/saalen/highlight/issues/99)
  • GUI: added theme category selection
  • GUI: display categories of selected syntax or theme

New in Highlight Portable 3.48 (Dec 14, 2018)

  • Fixed --list-scripts abortion with Fedora default compilation options
  • (https://gitlab.com/saalen/highlight/issues/84)
  • Fixed a problem with syntax test indicators reporting wrong states after comments
  • Improved Verilog syntax
  • Improved quoted string highlighting for Perl and Ruby
  • Detection of pkg-config's Lua version in src/makefile

New in Highlight Portable 3.47 (Oct 14, 2018)

  • Fixed xterm256 and truecolor whitespace output #2 (https://gitlab.com/saalen/highlight/issues/90)
  • Fixed LaTeX, TeX, SVG and ODT whitespace output (regression of 3.45)
  • Added darkplus theme (https://gitlab.com/saalen/highlight/merge_requests/84)
  • Converted ChangeLog to AsciiDoc
  • Allowed state test indicators to match both whitespace (ws) and the enclosing state (others)
  • CLI: default output changed to xterm256 or truecolor if run in a terminal with color support and
  • only a single file is outputted
  • GUI: added checkbox in the clipboard tab to output selected lines only

New in Highlight Portable 3.45 (Oct 3, 2018)

  • Added DocumentHeader and DocumentFooter plug-in hooks
  • Added RemoveKeyword Lua function for syntax definitions
  • Added syntax test indicators (see README_TESTCASES)
  • Added support for ISO and R10 variants of Modula2 (thanks to Benjamin Kowarsch)
  • Fixed R identifiers (https://gitlab.com/saalen/highlight/merge_requests/77)
  • Fixed ALAN IF identifiers (see https://gitlab.com/saalen/highlight/merge_requests/79)
  • Fixed issue with Bash string interpolation
  • Fixed some bugs found by coverity tool (https://gitlab.com/saalen/highlight/issues/82)
  • Added Swift keywords and types
  • Added filetypes.conf.5 man page (https://gitlab.com/saalen/highlight/issues/83)
  • Added Gradle extension mapping (https://gitlab.com/saalen/highlight/merge_requests/80)

New in Highlight Portable 3.44 (Jul 21, 2018)

  • Fixed gcc 8 compilation warnings
  • Fixed Ruby string interpolation
  • (https://github.com/andre-simon/highlight/issues/70)
  • Added support for ALAN IF (thanks to Tristano Ajmone)
  • Added 107 Base16 themes [https://github.com/chriskempson/base16]
  • (thanks to Tristano Ajmone)
  • Updated Rust and Java reserved words lists
  • Revised documentation
  • Moved extras/css-themes into extras/themes-resources
  • Added extras/themes-resources/base16 (thanks to Tristano Ajmone)
  • GUI: added Base16 theme selection checkbox
  • CLI: added --base16 option to enable the new themes
  • CLI: accept - as argument to read from stdin

New in Highlight Portable 3.43 (Apr 30, 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 Portable 3.42 (Jan 24, 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 Portable 3.41 (Nov 29, 2017)

  • Renamed examples directory to extras
  • Line anchors (-a) are attached as id attribute to the first span or li tag in
  • HTML output (https://github.com/andre-simon/highlight/issues/36)
  • Renamed ID prefix in outhtml_codefold plug-in to be compatible with -a IDs
  • Added fstab.lang and added anacrontab in filetypes.conf
  • Removed references to OutputType::HTML32
  • Added extras/css-themes and extras/langDefs-resources
  • (thanks to Tristano Ajmone)
  • CLI: removed deprecated indicator of --data-dir option
  • CLI: added --no-version-info option
  • GUI: fixed initial theme selection
  • GUI: added "Omit version info comment" option
  • GUI: added "Copy with MIME type" option for HTML output

New in Highlight Portable 3.40 (Oct 25, 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 Portable 3.39 (Aug 1, 2017)

  • Added syntax for Docker and Elixir
  • Improved HTML, Julia, Kotlin and Smalltalk syntax definitions
  • GUI: added "Paste, Convert and Copy" button (https://sourceforge.net/p/syntaxhighlight/support-requests/4/)