aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2020-03-08 15:01:43 -0400
committermitchell <70453897+667e-11@users.noreply.github.com>2020-03-08 15:01:43 -0400
commit8648876d893454181d70d0472b7fdb8a09552c76 (patch)
treee36c08208dcfd010c7cd149f62ca617feb15acfa /src
parente0915b0bb78060a9085c7db535480ebf9ec50532 (diff)
downloadtextadept-8648876d893454181d70d0472b7fdb8a09552c76.tar.gz
textadept-8648876d893454181d70d0472b7fdb8a09552c76.zip
Support SCI_PRIVATELEXERCALL with SCI_LOADLEXERLIBRARY.
This change should have been committed with r2697 (changeset 40a1cf1c4fd0).
Diffstat (limited to 'src')
-rw-r--r--src/textadept.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/textadept.c b/src/textadept.c
index 304e99fe..c63fd195 100644
--- a/src/textadept.c
+++ b/src/textadept.c
@@ -1151,7 +1151,7 @@ static int l_callscintilla(lua_State *L, Scintilla *view, int msg, int wtype,
if (c == SCI_GETDIRECTFUNCTION || c == SCI_SETDOCPOINTER ||
c == SCI_CHANGELEXERSTATE)
ltype = SINT;
- else if (c == SCI_SETLEXERLANGUAGE)
+ else if (c == SCI_SETLEXERLANGUAGE || c == SCI_LOADLEXERLIBRARY)
ltype = SSTRING;
}