aboutsummaryrefslogtreecommitdiff
path: root/src/textadept.c
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2020-05-26 14:26:49 -0400
committermitchell <70453897+667e-11@users.noreply.github.com>2020-05-26 14:26:49 -0400
commitee8ef57e3c7d6839df44411fefeaea10c4c837aa (patch)
treead525b6432c69340d97a1b8e22e836e089455859 /src/textadept.c
parent02dcc60155cb8a111366fe8e2f4340c63a37ed9a (diff)
downloadtextadept-ee8ef57e3c7d6839df44411fefeaea10c4c837aa.tar.gz
textadept-ee8ef57e3c7d6839df44411fefeaea10c4c837aa.zip
Updated to latest Scintilla with ability to get style number from name.
Diffstat (limited to 'src/textadept.c')
-rw-r--r--src/textadept.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/textadept.c b/src/textadept.c
index dc79ea47..8e743087 100644
--- a/src/textadept.c
+++ b/src/textadept.c
@@ -1152,6 +1152,7 @@ static int call_scintilla(
ltype = SINT; break;
case SCI_SETLEXERLANGUAGE: case SCI_LOADLEXERLIBRARY:
ltype = SSTRING; break;
+ case SCI_GETNAMEDSTYLES: ltype = SSTRING, rtype = SINDEX; break;
default: ltype = SSTRINGRET;
}