aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/gen_iface.lua2
-rwxr-xr-xscripts/osx/textadept_osx4
2 files changed, 2 insertions, 4 deletions
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" "$@"