Well, this should be doable for syntax highlighting setting for notepad++ (just taken from annotate. plus some additional stuff added and separated in order to be able to use several styles).
please note that the colours itself are completely useless. It was merely meant to show the differences in highlighting. At least you should be able to 'simply' change the colours/fonts to your personal preferences.
And no, the wrongly colored items are not my fault, the UDL language used for syntax highlighting is faulty by design and will never work correctly :P
As far as i understood my exported file (that is pasted here) should be possible to import in the user-defined options of notepad++.
Now, hopefully this board doesn't eat up all the special characters used in the config file :/
<NotepadPlus>
<UserLang name="PortablE" ext="" udlVersion="2.1">
<Settings>
<Global caseIgnored="no" allowFoldOfComments="no" foldCompact="no" forcePureLC="0" decimalSeparator="0" />
<Prefix Keywords1="no" Keywords2="no" Keywords3="no" Keywords4="no" Keywords5="no" Keywords6="no" Keywords7="no" Keywords8="no" />
</Settings>
<KeywordLists>
<Keywords name="Comments">00-> 01 02 03/* 04*/</Keywords>
<Keywords name="Numbers, prefix1"></Keywords>
<Keywords name="Numbers, prefix2">$</Keywords>
<Keywords name="Numbers, extras1"></Keywords>
<Keywords name="Numbers, extras2">$ABCDEFabcdef</Keywords>
<Keywords name="Numbers, suffix1"></Keywords>
<Keywords name="Numbers, suffix2"></Keywords>
<Keywords name="Numbers, range"></Keywords>
<Keywords name="Operators1">: , + - * / ++ -- !! := == != / < = > <= >=</Keywords>
<Keywords name="Operators2"></Keywords>
<Keywords name="Folders in code1, open">PROC</Keywords>
<Keywords name="Folders in code1, middle"></Keywords>
<Keywords name="Folders in code1, close">ENDPROC</Keywords>
<Keywords name="Folders in code2, open"></Keywords>
<Keywords name="Folders in code2, middle"></Keywords>
<Keywords name="Folders in code2, close"></Keywords>
<Keywords name="Folders in comment, open"></Keywords>
<Keywords name="Folders in comment, middle"></Keywords>
<Keywords name="Folders in comment, close"></Keywords>
<Keywords name="Keywords1">ABSTRACT ARRAY BUT CALLBACK CASE CLASS CLASSTYPE CONST DEFAULT DEF DO ELSE ELSEIF EMPTY END ENDCLASS ENDFOR ENDFUNC ENDIF ENDOBJECT ENDPROC ENDSELECT ENDWHILE ENUM EXPORT FINALLY FOR FUNC IF INLINE IMPLEMENTS IS LARGE LIST LOOP MODULE NATIVE NEW NOPTRTOCHAR OBJECT OF OPT OPTIMISE ORPHAN OSVERSION PREPROCESS PROC PRIVATE PROTECTED PROTOTYPE PUBLIC RAISE REPEAT REPLACEMENT RETURN RETURNS SELECT SET SIZEOF STATIC STEP SUPER THEN MULTITHREADED TO TYPEOF UNGENERIC UNTIL VOID WHILE</Keywords>
<Keywords name="Keywords2">BOOL BIGVALUE BYTE CHAR FLOAT ILIST INT LONG POINTER PTR QUAD STRING VALUE</Keywords>
<Keywords name="Keywords3">ALL FALSE NIL NILA NILS TRUE</Keywords>
<Keywords name="Keywords4">AND NOT OR SHL SHR XOR</Keywords>
<Keywords name="Keywords5"></Keywords>
<Keywords name="Keywords6"></Keywords>
<Keywords name="Keywords7"></Keywords>
<Keywords name="Keywords8"></Keywords>
<Keywords name="Delimiters">00' 01\ 02' 03" 04\ 05" 06( 07 08) 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23</Keywords>
</KeywordLists>
<Styles>
<WordsStyle name="DEFAULT" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" />
<WordsStyle name="COMMENTS" fgColor="000000" bgColor="C0C0C0" fontStyle="0" nesting="256" />
<WordsStyle name="LINE COMMENTS" fgColor="808080" bgColor="FFFFFF" fontStyle="0" nesting="0" />
<WordsStyle name="NUMBERS" fgColor="000000" bgColor="00FF40" fontStyle="0" nesting="0" />
<WordsStyle name="KEYWORDS1" fgColor="000000" bgColor="FFFFFF" fontStyle="1" nesting="0" />
<WordsStyle name="KEYWORDS2" fgColor="0080FF" bgColor="FFFFFF" fontStyle="1" nesting="0" />
<WordsStyle name="KEYWORDS3" fgColor="008040" bgColor="FFFFFF" fontStyle="1" nesting="0" />
<WordsStyle name="KEYWORDS4" fgColor="8000FF" bgColor="FFFFFF" fontStyle="0" nesting="0" />
<WordsStyle name="KEYWORDS5" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" />
<WordsStyle name="KEYWORDS6" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" />
<WordsStyle name="KEYWORDS7" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" />
<WordsStyle name="KEYWORDS8" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" />
<WordsStyle name="OPERATORS" fgColor="FF0000" bgColor="FFFFFF" fontStyle="5" nesting="0" />
<WordsStyle name="FOLDER IN CODE1" fgColor="000000" bgColor="FFFFFF" fontStyle="1" nesting="0" />
<WordsStyle name="FOLDER IN CODE2" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" />
<WordsStyle name="FOLDER IN COMMENT" fgColor="000000" bgColor="FFFFFF" fontStyle="1" nesting="0" />
<WordsStyle name="DELIMITERS1" fgColor="FF00FF" bgColor="FFFFFF" fontStyle="0" nesting="0" />
<WordsStyle name="DELIMITERS2" fgColor="000000" bgColor="FFFF00" fontStyle="0" nesting="0" />
<WordsStyle name="DELIMITERS3" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="117701895" />
<WordsStyle name="DELIMITERS4" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" />
<WordsStyle name="DELIMITERS5" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" />
<WordsStyle name="DELIMITERS6" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" />
<WordsStyle name="DELIMITERS7" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" />
<WordsStyle name="DELIMITERS8" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" />
</Styles>
</UserLang>
</NotepadPlus>
- folding on proc/endproc
- line comment on "->"
- multiline comment on "/*" with ending "*/"
- used about any _separator_ character as being an operator, otherwise highlighting would fail altogether.
- *sick* added ( ) as delimeter style (otherwise nothing between those would be highlighted correctly).
- added hexadecimal numbers (but i think i did something wrong there, alas docs not conclusive).
- KW 1: generic language constructs (plus some special)
- KW 2: types
- KW 3: constants
- KW 4: and/or operators (because i hate using same color as normal operators).
I have no idea how it would be possible to add preprocessor highlighting (the option simply seems non existent). possibly solvable by adding another set of keyword (including preprocessor initiator character "#").
hopefully enjoy ! :)