From c174f9be70855e89f606547cfa5471942d238038 Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Sat, 21 Dec 2024 20:57:40 +0300 Subject: support external Scintilla lexer libraries and Scintillua in particular * @ES/SCI_SETILEXER/lib^@name/ now opens the lexer in library . * You need to define the environment variable $SCITECO_SCINTILLUA_LEXERS to point to the lexers/ subdirectory (containing the *.lua files). Perhaps this should default to the dirname of ? * The semantics of SCI_NAMEOFSTYLE have been changed: It now returns style ids when given style names, so you can actually write Scintillua lexer *.tes files. This will be superfluous if we had a way to return strings from Scintilla messages into Q-Registers, e.g. 23@EPq/SCI_NAMEOFSTYLE/. * We now depend on gmodule as well, but it should always be part of glib. It does not change the library dependencies of any package. It might result in gmodule shared libraries to be bundled in the Win32 and Mac OS packages if they weren't already. --- doc/sciteco.1.in | 6 ++++++ doc/sciteco.7.template | 11 ++++++++--- 2 files changed, 14 insertions(+), 3 deletions(-) (limited to 'doc') diff --git a/doc/sciteco.1.in b/doc/sciteco.1.in index 82c1a47..2b3d3bf 100644 --- a/doc/sciteco.1.in +++ b/doc/sciteco.1.in @@ -289,6 +289,12 @@ on Windows. On all other platforms (including UNIX/Linux) this variable defaults to the standard library installation path at .BR "@scitecolibdir@" . +.TP +.SCITECO_TOPIC "$SCITECO_SCINTILLUA_LEXERS" +.B SCITECO_SCINTILLUA_LEXERS +The Scintillua \(lqlexers/\(rq directory. +This is passed as the \(lqscintillua.lexers\(rq library property when +loading a Scintillua lexer via the \fBSCI_SETILEXER\fP Scintilla message. . .LP The \fBHOME\fP, \fBSCITECOCONFIG\fP and \fBSCITECOPATH\fP environment diff --git a/doc/sciteco.7.template b/doc/sciteco.7.template index 8c049ee..053a5cb 100644 --- a/doc/sciteco.7.template +++ b/doc/sciteco.7.template @@ -2383,9 +2383,14 @@ Scintilla messages and other documentation: Scintilla .UE .TP -Scinterm manual, documenting the mapping of \(lqRGB\(rq values to terminal colors on curses user interfaces: -.UR http://foicica.com/scinterm/manual.html -Scinterm manual +Scinterm website, documenting the mapping of \(lqRGB\(rq values to terminal colors on curses user interfaces: +.UR https://orbitalquark.github.io/scinterm/ +Scinterm website +.UE +.TP +Scintillua manual, detailing usage of Lua-based Scintilla lexers: +.UR https://orbitalquark.github.io/scintillua/manual.html +Scintillua manual .UE .TP Suitable terminal fonts for icon support in Curses (see \fBED\fP flags): -- cgit v1.2.3