From 69ad13650cda027526271179e95b5294694143a1 Mon Sep 17 00:00:00 2001 From: Marius Date: Sat, 18 May 2013 14:00:20 +0300 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/context-version.pdf | Bin 4128 -> 4134 bytes tex/context/base/context.mkiv | 2 +- tex/context/base/status-files.pdf | Bin 24752 -> 24757 bytes tex/context/base/status-lua.pdf | Bin 211900 -> 211838 bytes tex/generic/context/luatex/luatex-fonts-merged.lua | 2 +- 9 files changed, 1194 insertions(+), 355 deletions(-) create mode 100644 context/data/scite/lexers/archive/scite-context-lexer-pre-3-3-1.lua 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