notepad-plus-plus

[Prev] Thread [Next]  |  [Prev] Date [Next]

[Notepad-plus-plus] [notepad-plus - Open Discussion] RE: Erlang syntax highlighting SourceForge.net Wed Jul 16 03:08:22 2008

Read and respond to this message at: 
https://sourceforge.net/forum/message.php?msg_id=5080129
By: nobody

As a jump start this might help:
Stop Notepad++ and copy the following <UserLang>-section into your
'userDefineLang.xml' file (found in <your-user-appdata>\Notepad++ directory).
Restart Notepad with an .erl source file.

    <UserLang name="Erlang" ext="erl hrl">
        <Settings>
            <Global caseIgnored="yes" />
            <TreatAsSymbol comment="no" commentLine="yes" />
            <Prefix words1="no" words2="no" words3="no" words4="no" />
        </Settings>
        <KeywordLists>
            <Keywords name="Delimiters">&quot;&apos;0&quot;&apos;0</Keywords>
            <Keywords name="Folder+">begin receive try case if
fun&#x0D;&#x0A;</Keywords>
            <Keywords name="Folder-">end</Keywords>
            <Keywords name="Operators">! # ( ) * , . : ; ? [ \ ] { | } + &lt;
= &gt;</Keywords>
            <Keywords name="Comment">1 2 0%</Keywords>
            <Keywords name="Words1">-module -import -export -include -define
-undef - ifdef -ifndef -else -endif -compile -vsn</Keywords>
            <Keywords name="Words2">true false</Keywords>
            <Keywords name="Words3">not bnot band div rem and andalso bor bxor
xor or orelse bsr bsl</Keywords>
            <Keywords name="Words4">catch after of when</Keywords>
        </KeywordLists>
        <Styles>
            <WordsStyle name="DEFAULT" styleID="11" fgColor="000000" 
bgColor="FFFFFF"
fontName="Lucida Console" fontStyle="0" fontSize="11" />
            <WordsStyle name="FOLDEROPEN" styleID="12" fgColor="008000"
bgColor="FFFFFF" fontName="Lucida Console" fontStyle="1" fontSize="11" />
            <WordsStyle name="FOLDERCLOSE" styleID="13" fgColor="008000"
bgColor="FFFFFF" fontName="Lucida Console" fontStyle="1" fontSize="11" />
            <WordsStyle name="KEYWORD1" styleID="5" fgColor="0000FF" 
bgColor="FFFFFF"
fontName="Lucida Console" fontStyle="0" fontSize="11" />
            <WordsStyle name="KEYWORD2" styleID="6" fgColor="AA0000" 
bgColor="FFFFFF"
fontName="Lucida Console" fontStyle="0" fontSize="11" />
            <WordsStyle name="KEYWORD3" styleID="7" fgColor="800040" 
bgColor="FFFFFF"
fontName="Lucida Console" fontStyle="0" fontSize="11" />
            <WordsStyle name="KEYWORD4" styleID="8" fgColor="FF0000" 
bgColor="FFFFFF"
fontName="Lucida Console" fontStyle="1" fontSize="11" />
            <WordsStyle name="COMMENT" styleID="1" fgColor="000000" 
bgColor="FFFFFF"
fontName="" fontStyle="0" />
            <WordsStyle name="COMMENT LINE" styleID="2" fgColor="00F400"
bgColor="FFFFFF" fontName="Lucida Console" fontStyle="0" fontSize="11" />
            <WordsStyle name="NUMBER" styleID="4" fgColor="808080" 
bgColor="FFFFFF"
fontName="Lucida Console" fontStyle="1" fontSize="11" />
            <WordsStyle name="OPERATOR" styleID="10" fgColor="0000FF"
bgColor="FFFFFF" fontName="Lucida Console" fontStyle="0" fontSize="11" />
            <WordsStyle name="DELIMINER1" styleID="14" fgColor="FF0000"
bgColor="FFFFFF" fontName="Lucida Console" fontStyle="0" fontSize="11" />
            <WordsStyle name="DELIMINER2" styleID="15" fgColor="808080"
bgColor="FFFFFF" fontName="Lucida Console" fontStyle="2" fontSize="11" />
            <WordsStyle name="DELIMINER3" styleID="16" fgColor="000000"
bgColor="FFFFFF" fontName="" fontStyle="0" />
        </Styles>
    </UserLang>


______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit: 
https://sourceforge.net/forum/unmonitor.php?forum_id=331753

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Notepad-plus-plus mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/notepad-plus-plus