summaryrefslogtreecommitdiff
path: root/addon/Notepad++/userDefineLang.xml
diff options
context:
space:
mode:
authormikeworks <mikeworks@6c8d7289-2bf4-0310-a012-ef5d649a1542>2010-01-20 20:34:40 +0000
committermikeworks <mikeworks@6c8d7289-2bf4-0310-a012-ef5d649a1542>2010-01-20 20:34:40 +0000
commit3597dee3e3737f3213e809030d8163526d53a920 (patch)
treef7cb879d007a17129a0cb2f83ebc501c1b626d1b /addon/Notepad++/userDefineLang.xml
parentc5322dd3a73818c8910a66a5fbcc9bb5c737199b (diff)
Updated syntax highlighting support for YaCy lng (language) files in Notepad++
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@6602 6c8d7289-2bf4-0310-a012-ef5d649a1542
Diffstat (limited to 'addon/Notepad++/userDefineLang.xml')
-rw-r--r--addon/Notepad++/userDefineLang.xml25
1 files changed, 16 insertions, 9 deletions
diff --git a/addon/Notepad++/userDefineLang.xml b/addon/Notepad++/userDefineLang.xml
index 39591c32d..32daad6de 100644
--- a/addon/Notepad++/userDefineLang.xml
+++ b/addon/Notepad++/userDefineLang.xml
@@ -1,15 +1,22 @@
+<!-- This is a language definition file for the YaCy translation .lng files to be used for the Notepad++ editor available here: http://notepad-plus.sourceforge.net -->
+<!-- Put this file into your %APPDATA%\Notepad++ directory to have syntax highlighting support for the YaCy .lng files automatically -->
+<!-- The language also shows in the Language menu as "YaCy lng" in the user defined section -->
+<!-- Known bugs: - Unescaped # also are displayed as comments in the middle of the line -->
+<!-- 2010-01-20 Tested with Notepad++ v4.2.2 by Michael Benz (mikeworks) -->
+<!-- 2010-01-20 Tested with Notepad++ v5.6.4 by Michael Benz (mikeworks) -->
<NotepadPlus>
<UserLang name="YaCy lng" ext="lng">
<Settings>
<Global caseIgnored="no" />
- <TreatAsSymbol comment="no" commentLine="no" />
+ <TreatAsSymbol comment="no" commentLine="yes" />
<Prefix words1="no" words2="no" words3="no" words4="no" />
</Settings>
<KeywordLists>
- <Keywords name="Delimiters">=00=00</Keywords>
+ <Keywords name="Delimiters">&quot;&apos;0&quot;&apos;0</Keywords>
<Keywords name="Folder+">#---------------------------</Keywords>
<Keywords name="Folder-">#-----------------------------</Keywords>
- <Keywords name="Comment"> 1 2 0#</Keywords>
+ <Keywords name="Operators">=</Keywords>
+ <Keywords name="Comment">1 2 0#</Keywords>
<Keywords name="Words1">#File:</Keywords>
<Keywords name="Words2"></Keywords>
<Keywords name="Words3"></Keywords>
@@ -20,15 +27,15 @@
<WordsStyle name="FOLDEROPEN" styleID="12" fgColor="FF0000" bgColor="FFFFFF" fontName="" fontStyle="3" />
<WordsStyle name="FOLDERCLOSE" styleID="13" fgColor="FF0000" bgColor="FFFFFF" fontName="" fontStyle="3" />
<WordsStyle name="KEYWORD1" styleID="5" fgColor="FF0000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="10" />
- <WordsStyle name="KEYWORD2" styleID="6" fgColor="FF0000" bgColor="FFFFFF" fontName="" fontStyle="0" />
+ <WordsStyle name="KEYWORD2" styleID="6" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="1" />
<WordsStyle name="KEYWORD3" styleID="7" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" />
<WordsStyle name="KEYWORD4" styleID="8" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" />
- <WordsStyle name="COMMENT" styleID="1" fgColor="FF8040" bgColor="FFFFFF" fontName="" fontStyle="0" />
- <WordsStyle name="COMMENT LINE" styleID="2" fgColor="008000" bgColor="FFFFFF" fontName="" fontStyle="0" />
+ <WordsStyle name="COMMENT" styleID="1" fgColor="00AA00" bgColor="FFFFFF" fontName="" fontStyle="0" />
+ <WordsStyle name="COMMENT LINE" styleID="2" fgColor="00AA00" bgColor="FFFFFF" fontName="" fontStyle="2" />
<WordsStyle name="NUMBER" styleID="4" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" />
- <WordsStyle name="OPERATOR" styleID="10" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" />
- <WordsStyle name="DELIMINER1" styleID="14" fgColor="8000FF" bgColor="FFFFFF" fontName="" fontStyle="0" />
- <WordsStyle name="DELIMINER2" styleID="15" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" />
+ <WordsStyle name="OPERATOR" styleID="10" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="1" />
+ <WordsStyle name="DELIMINER1" styleID="14" fgColor="8080C0" bgColor="FFFFFF" fontName="" fontStyle="0" />
+ <WordsStyle name="DELIMINER2" styleID="15" fgColor="8080C0" bgColor="FFFFFF" fontName="" fontStyle="0" />
<WordsStyle name="DELIMINER3" styleID="16" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" />
</Styles>
</UserLang>