From 8648876d893454181d70d0472b7fdb8a09552c76 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Sun, 8 Mar 2020 15:01:43 -0400 Subject: Support SCI_PRIVATELEXERCALL with SCI_LOADLEXERLIBRARY. This change should have been committed with r2697 (changeset 40a1cf1c4fd0). --- src/textadept.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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; } -- cgit v1.2.3