aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/textadept.c
diff options
context:
space:
mode:
authorGravatar mitchell <70453897+orbitalquark@users.noreply.github.com>2021-04-13 00:02:12 -0400
committerGravatar mitchell <70453897+orbitalquark@users.noreply.github.com>2021-04-13 00:02:12 -0400
commit3d69ae01c0f2421a89b862ec5fea635a40826896 (patch)
tree0930132b4c69c144538340b48b7c52accc639b61 /src/textadept.c
parent19899b518f18165b1dfb6d9b4b18e531f4b56249 (diff)
Updated to Scintilla 5.0.1 and latest Scintillua and Scinterm.
Some of the Scintilla API has changed, and by extension the Scintillua API.
Diffstat (limited to 'src/textadept.c')
-rw-r--r--src/textadept.c4
1 files changed, 2 insertions, 2 deletions
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;
}