From 56dc0a689aaa9a7d054448c732c31bf57f640aaf Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Tue, 15 Sep 2015 10:23:39 -0400 Subject: Updated to Scintilla 3.6.1. --- src/Makefile | 4 ++-- src/textadept.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/Makefile b/src/Makefile index 7450b483..e00d8933 100644 --- a/src/Makefile +++ b/src/Makefile @@ -379,9 +379,9 @@ else lspawn_url = http://foicica.com/hg/lspawn/archive/tip.zip endif -scintilla_tgz = scintilla360.tgz +scintilla_tgz = scintilla361.tgz scinterm_zip = scinterm_1.6.zip -scintillua_zip = scintillua_3.6.0-1.zip +scintillua_zip = scintillua_3.6.1-1.zip lua_tgz = lua-5.3.1.tar.gz lpeg_tgz = lpeg-0.12.2.tar.gz lfs_zip = v_1_6_3.zip diff --git a/src/textadept.c b/src/textadept.c index 3336a0cf..d6fbb50c 100644 --- a/src/textadept.c +++ b/src/textadept.c @@ -1096,7 +1096,7 @@ static int lbuffer_text_range(lua_State *L) { Scintilla *view = focused_view; int result = l_globaldoccompare(L, 1); if (result != 0) view = (result > 0) ? dummy_view : command_entry; - long min = luaL_checkinteger(L, 2), max = luaL_checkinteger(L, 3); + Sci_PositionCR min = luaL_checkinteger(L, 2), max = luaL_checkinteger(L, 3); luaL_argcheck(L, min <= max, 3, "start > end"); struct Sci_TextRange tr = {{min, max}, malloc(max - min + 1)}; SS(view, SCI_GETTEXTRANGE, 0, (sptr_t)&tr); -- cgit v1.2.3