From 60f28f85f2707b6a48c3b5aec0ea68b8ee21e466 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sun, 23 Jun 2013 23:38:05 +0000 Subject: context git-svn-id: svn://tug.org/texlive/trunk@30865 c570f23f-e606-0410-a88d-b1316a301751 --- .../archive/scite-context-lexer-pre-3-3-1.lua | 1100 ++++++++++++++++++++ .../lexers/data/scite-context-data-context.lua | 2 +- .../data/scite/lexers/scite-context-lexer.lua | 416 ++------ .../scite/scite-context-data-context.properties | 133 +-- .../context/data/scite/scite-context.properties | 18 +- .../texworks/configuration/smart-quotes-modes.txt~ | 21 + 6 files changed, 1279 insertions(+), 411 deletions(-) create mode 100644 Master/texmf-dist/context/data/scite/lexers/archive/scite-context-lexer-pre-3-3-1.lua create mode 100644 Master/texmf-dist/context/data/texworks/configuration/smart-quotes-modes.txt~ (limited to 'Master/texmf-dist/context') diff --git a/Master/texmf-dist/context/data/scite/lexers/archive/scite-context-lexer-pre-3-3-1.lua b/Master/texmf-dist/context/data/scite/lexers/archive/scite-context-lexer-pre-3-3-1.lua new file mode 100644 index 00000000000..7883177b41e --- /dev/null +++ b/Master/texmf-dist/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