From 3d69ae01c0f2421a89b862ec5fea635a40826896 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+orbitalquark@users.noreply.github.com> Date: Tue, 13 Apr 2021 00:02:12 -0400 Subject: Updated to Scintilla 5.0.1 and latest Scintillua and Scinterm. Some of the Scintilla API has changed, and by extension the Scintillua API. --- src/textadept.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/textadept.c') diff --git a/src/textadept.c b/src/textadept.c index dc671d3a..1e8a1c2b 100644 --- a/src/textadept.c +++ b/src/textadept.c @@ -1116,8 +1116,8 @@ static int call_scintilla( case SCI_GETDIRECTFUNCTION: case SCI_SETDOCPOINTER: case SCI_CHANGELEXERSTATE: ltype = SINT; break; - case SCI_SETLEXERLANGUAGE: - case SCI_LOADLEXERLIBRARY: ltype = SSTRING; break; + case SCI_SETILEXER: + case SCI_CREATELOADER: ltype = SSTRING; break; case SCI_GETNAMEDSTYLES: ltype = SSTRING, rtype = SINDEX; break; default: ltype = SSTRINGRET; } -- cgit v1.2.3