Speaking of filedefs, has anyone had a chance to look at the suite of new properties the shell lexer acquired in recent versions? Most of them are for embedded variables, for example [inside here docs][1]:
<img alt="scite-538-lex-bash" width="380" src="https://github.com/geany/geany/assets/59004801/045a6d60-ba67-4875-9948-c1d62ddfeac7" />
The command substitution preference also became a set of [enumerated options][2]:
| | | | :-- | :-- | | lexer.bash.command.substitution | Set how to highlight $() command substitution. 0 (the default) highlighted as backticks. 1 highlighted inside. 2 highlighted inside with extra scope tracking. | | lexer.bash.nested.backticks | Set this property to 0 to disable nested backquoted command substitution. | | lexer.bash.styling.inside.backticks | Set this property to 1 to highlight shell expansions inside backticks. | | lexer.bash.styling.inside.heredoc | Set this property to 1 to highlight shell expansions inside here document. | | lexer.bash.styling.inside.parameter | Set this property to 1 to highlight shell expansions inside ${} parameter expansion. | | lexer.bash.styling.inside.string | Set this property to 1 to highlight shell expansions inside string. |
[0]: https://www.scintilla.org/SciTEDoc.html#:~:text=lexer.bash.command.substitut... [1]: https://github.com/ScintillaOrg/lexilla/commit/d45abec81fa44cb7fe15fdc609d0a... [2]: https://github.com/ScintillaOrg/lexilla/commit/119ad899ebe33c8c0acca8a4a3e7e...