aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/lexers
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2025-03-23 18:31:09 +0300
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2025-03-23 18:42:07 +0300
commit9e101ec36e0bf45f294f63015e0352d1d08d641d (patch)
tree786dd994465a48d038d48889af4678bf87d09614 /lib/lexers
parent8f0fea5b17025a424474bc78c668ae3bfb0e2661 (diff)
downloadsciteco-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 'lib/lexers')
-rw-r--r--lib/lexers/c.tesbin2440 -> 2705 bytes
-rw-r--r--lib/lexers/cpp.tesbin1279 -> 1410 bytes
-rw-r--r--lib/lexers/devicetree.tesbin612 -> 743 bytes
-rw-r--r--lib/lexers/sciteco.tesbin637 -> 697 bytes
4 files changed, 0 insertions, 0 deletions
diff --git a/lib/lexers/c.tes b/lib/lexers/c.tes
index c0acea2..0f2b68d 100644
--- a/lib/lexers/c.tes
+++ b/lib/lexers/c.tes
Binary files differ
diff --git a/lib/lexers/cpp.tes b/lib/lexers/cpp.tes
index 0f6a01a..7ac177f 100644
--- a/lib/lexers/cpp.tes
+++ b/lib/lexers/cpp.tes
Binary files differ
diff --git a/lib/lexers/devicetree.tes b/lib/lexers/devicetree.tes
index 7551458..da6d876 100644
--- a/lib/lexers/devicetree.tes
+++ b/lib/lexers/devicetree.tes
Binary files differ
diff --git a/lib/lexers/sciteco.tes b/lib/lexers/sciteco.tes
index ec023d7..7ca9c70 100644
--- a/lib/lexers/sciteco.tes
+++ b/lib/lexers/sciteco.tes
Binary files differ