From 0deffde58a47f5c85a46a7d999ff9cf817b81cef Mon Sep 17 00:00:00 2001 From: Hans Hagen Date: Sat, 18 May 2013 12:41:00 +0200 Subject: beta 2013.05.18 12:41 --- .../archive/scite-context-lexer-pre-3-3-1.lua | 1100 ++++++++++++++++++++ context/data/scite/lexers/scite-context-lexer.lua | 426 ++------ context/data/scite/scite-context.properties | 17 +- tex/context/base/cont-new.mkiv | 2 +- tex/context/base/cont-new.tmp | 83 -- tex/context/base/context-version.pdf | Bin 4127 -> 4134 bytes tex/context/base/context.mkiv | 4 +- tex/context/base/context.tmp | 513 --------- tex/context/base/status-files.pdf | Bin 24755 -> 24757 bytes tex/context/base/status-lua.pdf | Bin 211803 -> 211838 bytes tex/generic/context/luatex/luatex-fonts-merged.lua | 2 +- 11 files changed, 1195 insertions(+), 952 deletions(-) create mode 100644 context/data/scite/lexers/archive/scite-context-lexer-pre-3-3-1.lua delete mode 100644 tex/context/base/cont-new.tmp delete mode 100644 tex/context/base/context.tmp diff --git a/context/data/scite/lexers/archive/scite-context-lexer-pre-3-3-1.lua b/context/data/scite/lexers/archive/scite-context-lexer-pre-3-3-1.lua new file mode 100644 index 000000000..7883177b4 --- /dev/null +++ b/context/data/scite/lexers/archive/scite-context-lexer-pre-3-3-1.lua @@ -0,0 +1,1100 @@ +local info = { + version = 1.324, + comment = "basics for scintilla lpeg lexer for context/metafun", + author = "Hans Hagen, PRAGMA-ADE, Hasselt NL", + copyright = "PRAGMA ADE / ConTeXt Development Team", + license = "see context related readme files", + comment = "contains copyrighted code from mitchell.att.foicica.com", + +} + +-- todo: move all code here +-- todo: explore adapted dll ... properties + init + +-- The fold and lex functions are copied and patched from original code by Mitchell (see +-- lexer.lua). All errors are mine. +-- +-- Starting with SciTE version 3.20 there is an issue with coloring. As we still lack +-- a connection with scite itself (properties as well as printing to the log pane) we +-- cannot trace this (on windows). As far as I can see, there are no fundamental +-- changes in lexer.lua or LexLPeg.cxx so it must be in scintilla itself. So for the +-- moment I stick to 3.10. Indicators are: no lexing of 'next' and 'goto