diff options
Diffstat (limited to 'context')
-rw-r--r-- | context/data/scite/lexers/scite-context-lexer-lua.lua | 8 | ||||
-rw-r--r-- | context/data/scite/scite-context.properties | 9 |
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) |