summaryrefslogtreecommitdiff
path: root/context
diff options
context:
space:
mode:
authorMarius <mariausol@gmail.com>2013-07-12 20:20:46 +0300
committerMarius <mariausol@gmail.com>2013-07-12 20:20:46 +0300
commitb1d691809f3556327b45caf09444c50a77335b8f (patch)
tree8e85bb077d6680d1ea73a284a9ab3a0d26954628 /context
parentb10c48bc0fe2e5be7305c0f31e41ea01f8596c30 (diff)
downloadcontext-b1d691809f3556327b45caf09444c50a77335b8f.tar.gz
beta 2013.07.12 19:10
Diffstat (limited to 'context')
-rw-r--r--context/data/scite/lexers/scite-context-lexer-lua.lua8
-rw-r--r--context/data/scite/scite-context.properties9
2 files changed, 8 insertions, 9 deletions
diff --git a/context/data/scite/lexers/scite-context-lexer-lua.lua b/context/data/scite/lexers/scite-context-lexer-lua.lua
index 9672e110e..b0297cf83 100644
--- a/context/data/scite/lexers/scite-context-lexer-lua.lua
+++ b/context/data/scite/lexers/scite-context-lexer-lua.lua
@@ -47,15 +47,17 @@ local functions = {
local constants = {
'_G', '_VERSION', '_M', '...', '_ENV',
-- here too
- '__add', '__call', '__concat', '__div', '__eq', '__gc', '__index',
+ '__add', '__call', '__concat', '__div', '__idiv', '__eq', '__gc', '__index',
'__le', '__lt', '__metatable', '__mode', '__mul', '__newindex',
- '__pow', '__sub', '__tostring', '__unm',
+ '__pow', '__sub', '__tostring', '__unm', '__len',
+ '__pairs', '__ipairs',
+ 'NaN',
}
local internals = { -- __
'add', 'call', 'concat', 'div', 'eq', 'gc', 'index',
'le', 'lt', 'metatable', 'mode', 'mul', 'newindex',
- 'pow', 'sub', 'tostring', 'unm',
+ 'pow', 'sub', 'tostring', 'unm', 'len',
}
local depricated = {
diff --git a/context/data/scite/scite-context.properties b/context/data/scite/scite-context.properties
index 4adee89c5..caf230de7 100644
--- a/context/data/scite/scite-context.properties
+++ b/context/data/scite/scite-context.properties
@@ -29,7 +29,7 @@
# 1: better anti-aliasing on windows, also slightly diffent lineheights
-technology=1
+#~ technology=1
# not much difference
#
@@ -102,17 +102,14 @@ if PLAT_WIN
name.context.gsview=gsview32.exe
name.context.acrobat=
name.flag.pdfopen=--autopdf
- name.flag.pdfopen=--autopdf=sumatra
-
-# consoles: rxvt,konsole | acrobat: acroread,xpdfopen
-#
-# name.flag.pdfopen=--autopdf --xpdf
+ #~ name.flag.pdfopen=--autopdf=default
if PLAT_GTK
name.context.console=rxvt
name.context.gsview=gv
name.context.acrobat=acroread
name.flag.pdfopen=--autopdf
+ name.flag.pdfopen=--autopdf=sumatra
name.metafun.console=$(name.context.console)
name.example.console=$(name.context.console)