From 4e7434e3a524d043e16095ae5382e9058e80b409 Mon Sep 17 00:00:00 2001 From: Luigi Scarso Date: Mon, 5 Mar 2018 15:04:45 +0000 Subject: Context plugin for Notepad++ (Windows 32bit) git-svn-id: svn://tug.org/texlive/trunk@46832 c570f23f-e606-0410-a88d-b1316a301751 --- .../data/npp/context/Npp-for-ConTeXt.sha256sum | 1 + .../context/data/npp/context/Npp-for-ConTeXt.zip | Bin 0 -> 1536784 bytes .../context/data/npp/context/notepad++.ini | 57 --------------------- 3 files changed, 1 insertion(+), 57 deletions(-) create mode 100644 Master/texmf-dist/context/data/npp/context/Npp-for-ConTeXt.sha256sum create mode 100644 Master/texmf-dist/context/data/npp/context/Npp-for-ConTeXt.zip delete mode 100644 Master/texmf-dist/context/data/npp/context/notepad++.ini (limited to 'Master/texmf-dist/context') diff --git a/Master/texmf-dist/context/data/npp/context/Npp-for-ConTeXt.sha256sum b/Master/texmf-dist/context/data/npp/context/Npp-for-ConTeXt.sha256sum new file mode 100644 index 00000000000..980644a7a2f --- /dev/null +++ b/Master/texmf-dist/context/data/npp/context/Npp-for-ConTeXt.sha256sum @@ -0,0 +1 @@ +9a0bd0759b38762759b4c45eea446b04068335ebe61419121ce9bfbd38c29512 *Npp-for-ConTeXt.zip diff --git a/Master/texmf-dist/context/data/npp/context/Npp-for-ConTeXt.zip b/Master/texmf-dist/context/data/npp/context/Npp-for-ConTeXt.zip new file mode 100644 index 00000000000..4f139f18f27 Binary files /dev/null and b/Master/texmf-dist/context/data/npp/context/Npp-for-ConTeXt.zip differ diff --git a/Master/texmf-dist/context/data/npp/context/notepad++.ini b/Master/texmf-dist/context/data/npp/context/notepad++.ini deleted file mode 100644 index 50b02e294c1..00000000000 --- a/Master/texmf-dist/context/data/npp/context/notepad++.ini +++ /dev/null @@ -1,57 +0,0 @@ -# You can use the lexers that come with context and athat are meant for scite also for notepad++. On -# my machine I always install such a portable program in c:\data\system\notepadplusplus (avoiding -# funny characters). -# -# (1) Download a version of scintillua++ that matches the current version if notepad++ and unzip -# the archive in a temporary place. -# -# c:\data\notepadplusplus\* -# -# (2) Copy these two dlls:: -# -# c:\data\notepadplusplus\plugins\Scintillua++.dll -# c:\data\notepadplusplus\plugins\Config\Scintillua++\LexLPeg.dll -# -# (3) Copy this file to: -# -# c:\data\notepadplusplus\plugins\Config\Scintillua++.ini -# -# (4) Copy the files from the texmf/context/data/scite/context so that you get: -# -# c:\data\notepadplusplus\plugins\Config\data\scite-context-data-*.lua -# c:\data\notepadplusplus\plugins\Config\themes\scite-context-theme.lua -# c:\data\notepadplusplus\plugins\Config\themes\lexer.lua -# c:\data\notepadplusplus\plugins\Config\themes\scite-context-lexer.lua -# c:\data\notepadplusplus\plugins\Config\themes\scite-context-lexer-*.lua -# -# Now you should get the standard context lexing for the file types mentioned below. I might add a few -# more (consistent) lexers. Beware: we don't use the lexer.lua file that ships with scintillua++. Among -# the reasons is that when I first played with this variant of lexing the scintillua implementation was -# quite slow, so I redid the code with some agressive optimization (in context a good test file is the -# character database file. There is still room for improvement. One problem with the lua lexer is that -# there is not much communication possible so that getting the state involves guesswork. -# -# Also, we already had lpeg based lexing in context so it made more sense to find some common ground so -# that I could share code (a bit of a hybrid approach). There are some extra features like showing -# invisible spaces and most noticeably spell checking (for more info see the manual). -# -# The lexer assumes that you have the dejavu mono fonts installed. These cover a wide repertoire of -# characters. Some features offered for scite won't be available because no additional menu items etc -# are defined. -# -# In due time some more configuration files will be added for notepad++. Maybe some more can be set up -# below. - -theme=scite-context-theme -override=true - -scite-context-lexer-tex=*.tex;*.mkii;*.mkiv;*.mkvi;*.mkix;*.mkxi -scite-context-lexer-xml=*.xml;*.xsl;*.xsd;*.fo;*.exa;*.rlb;*.rlg;*.rlv;*.rng;*.xfdf;*.xslt;*.dtd;*.lmx;*.htm;*.html;*.xhtml;*.ctx;*.export;*.svg;*.xul -scite-context-lexer-mps=*.mp;*.mpx -scite-context-lexer-lua=*.lua;*.luc;*.cld;*.tuc;*.luj;*.lum;*.tma;*.lfg;*.luv;*.lui -scite-context-lexer-txt=*.txt -scite-context-lexer-pdf=*.pdf -scite-context-lexer-web=*.w;*.ww -scite-context-lexer-cpp=*.h;*.c;*.hh;*.cc;*.hpp;*.cpp;*.hxx;*.cxx -scite-context-lexer-bibtex=*.bib -scite-context-lexer-sql=*.sql -- cgit v1.2.3