From 5f4fbc763a90a38508a0a7d4f4ae7a2262ecbd39 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Wed, 25 Apr 2018 22:52:33 -0400 Subject: Removed LuaJIT version of Textadept. Also updated to Lua 5.3 syntax where held back by LuaJIT's 5.1/5.2 syntax. --- scripts/gen_iface.lua | 2 +- scripts/osx/textadept_osx | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'scripts') diff --git a/scripts/gen_iface.lua b/scripts/gen_iface.lua index d7294b1a..0d407f9b 100755 --- a/scripts/gen_iface.lua +++ b/scripts/gen_iface.lua @@ -27,7 +27,7 @@ for line in io.lines('../src/scintilla/include/Scintilla.iface') do for i = 1, #ignores do if name:find(ignores[i]) then goto continue end end name = name:gsub('^SC_', ''):gsub('^SC([^N]%u+)', '%1') if name == 'FIND_REGEXP' then - value = tostring(tonumber(value) + 2^22) -- add SCFIND_POSIX + value = tostring(tonumber(value) + 2^23) -- add SCFIND_CXX11REGEX elseif name == 'MASK_FOLDERS' then value = '-33554432' end diff --git a/scripts/osx/textadept_osx b/scripts/osx/textadept_osx index 5575c9a0..76edf9e8 100755 --- a/scripts/osx/textadept_osx +++ b/scripts/osx/textadept_osx @@ -23,6 +23,4 @@ if [ x`echo "x$1" | sed -e "s/^x-psn_.*//"` == x ]; then shift 1; fi if [ -f $HOME/.textadept/osx_env.sh ]; then . $HOME/.textadept/osx_env.sh; fi # Run Textadept. -textadept=textadept -if [ ! -z $TEXTADEPTJIT ]; then textadept=textadeptjit; fi -exec "$bundle/Contents/MacOS/$textadept" "$@" +exec "$bundle/Contents/MacOS/textadept" "$@" -- cgit v1.2.3