diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2025-03-23 18:31:09 +0300 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2025-03-23 18:42:07 +0300 |
commit | 9e101ec36e0bf45f294f63015e0352d1d08d641d (patch) | |
tree | 786dd994465a48d038d48889af4678bf87d09614 /bootstrap.am | |
parent | 8f0fea5b17025a424474bc78c668ae3bfb0e2661 (diff) | |
download | sciteco-9e101ec36e0bf45f294f63015e0352d1d08d641d.tar.gz |
the ES command (send Scintilla message) now supports passing both wParam and lParam as null-terminated strings
* Being able to embed null bytes into the lParam string is
practically useless - there aren't any messages where this is useful
and where there are no native SciTECO counterparts - so this case is now catched
and the null-byte separates wParam from lParam.
* wParam can be the empty string, but it is not supported to pass wParam as a
string and lParam as the empty string.
If the second string argument ends in ^@, lParam is popped from the stack instead.
* This is a temporary workaround until we can properly parse the Scintilla.iface and
generate more elegant per-message wrappers.
* It in particular unlocks the SCI_SETREPRESENTATION and SCI_SETPROPERTY messages.
The former allows us to write a special hex-editor macro which sets hexadecimal
character representations, while the latter allows you to set lexer properties.
* The C-based lexers ("cpp" in Lexilla) can now take preprocessor definitions into account.
This is disabled by default, unless you set lexer.c.defines before opening a file.
You can also set it interactively and re-set the lexer. For instance:
^U[lexer.c.defines]NDEBUG$ M[lexer.set.c]
Diffstat (limited to 'bootstrap.am')
0 files changed, 0 insertions, 0 deletions