Lexilla 5.2.5 released

20 views
Skip to first unread message

Neil Hodgson

unread,
May 30, 2023, 10:47:58 PM5/30/23
to Scintilla mailing list
Lexilla is a library of lexers that can be used with Scintilla or independently.

https://www.scintilla.org/Lexilla.html

Lexilla 5.2.5 is now available from the scintilla.org web site.

This is a normal release containing some improvements for Bash, Batch, F#, and VB.

The Bash lexer, which is also useful for other shell languages, was significantly enhanced to optionally allow styling within quoted constructs like command substitution, strings, and here-docs. The new properties lexer.bash.command.substitution, lexer.bash.styling.inside.backticks, lexer.bash.styling.inside.heredoc, lexer.bash.styling.inside.parameter, and lexer.bash.styling.inside.string control this.

The choice to style inside command substitutions with a duplicated set of styles (64 + base style) to easily see the scope and elements of a command substitution (lexer.bash.command.substitution=2) should be treated as provisional since the details may change. In particular, other quoted entities like here-docs could be handled in a similar manner which could require changing the style numbers used.

Example of lexer.bash.command.substitution=2
https://www.scintilla.org/BashNestedRich.png

A C++17 compiler is required to build Lexilla. Microsoft Visual C++ 2019, GCC 7.3, Clang 6.0, Xcode 9.2 Clang or newer will work. Some slightly older compilers may still work.

A list of changes is available on the history page.
https://www.scintilla.org/LexillaHistory.html

Lexilla uses Git for source code control. The repository can be cloned with
git clone https://github.com/ScintillaOrg/lexilla

Thanks to the contributors of code and documentation and to the testers.

Neil
Reply all
Reply to author
Forward
0 new messages