diff options
author | 2015-09-15 10:23:39 -0400 | |
---|---|---|
committer | 2015-09-15 10:23:39 -0400 | |
commit | 56dc0a689aaa9a7d054448c732c31bf57f640aaf (patch) | |
tree | d5898aae623eda3e4daf24ebb4677baf8656b2eb /src | |
parent | 617fd954819465fcc7182473be1e93abf8473122 (diff) | |
download | textadept-56dc0a689aaa9a7d054448c732c31bf57f640aaf.tar.gz textadept-56dc0a689aaa9a7d054448c732c31bf57f640aaf.zip |
Updated to Scintilla 3.6.1.
Diffstat (limited to 'src')
-rw-r--r-- | src/Makefile | 4 | ||||
-rw-r--r-- | src/textadept.c | 2 |
2 files changed, 3 insertions, 3 deletions
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); |