syntax highlighting with notepad++

Post Reply
Piet
Posts: 4
Joined: 05 Jul 2013 13:41

syntax highlighting with notepad++

Post by Piet »

Hello, if you encode with notepad + +, I have prepared this file for syntax highlighting

save the code with a file name such "express_light.xml" (.xml) (Extensible Markup Language )

to install it on notepad + + :

language / define your language / import



-------------------------------------------------------------------------------------------------------------------------------------


<NotepadPlus>
<UserLang name="Express" ext="txt" udlVersion="2.1">
<Settings>
<Global caseIgnored="yes" 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"></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"></Keywords>
<Keywords name="Folders in code1, middle"></Keywords>
<Keywords name="Folders in code1, close"></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">vars</Keywords>
<Keywords name="Folders in comment, middle">calculation</Keywords>
<Keywords name="Folders in comment, close">interpretation</Keywords>
<Keywords name="Keywords1">Express&#x000D;&#x000A;Vars&#x000D;&#x000A;Calculation&#x000D;&#x000A;Interpretation&#x000D;&#x000A;&#x000D;&#x000A;&#x000D;&#x000A;</Keywords>
<Keywords name="Keywords2">if&#x000D;&#x000A;then&#x000D;&#x000A;else&#x000D;&#x000A;for&#x000D;&#x000A;to&#x000D;&#x000A;while&#x000D;&#x000A;begin&#x000D;&#x000A;end&#x000D;&#x000A;and&#x000D;&#x000A;or</Keywords>
<Keywords name="Keywords3">ExpMovingAverage&#x000D;&#x000A;MovingAverage&#x000D;&#x000A;AbsValue&#x000D;&#x000A;ArcTangent&#x000D;&#x000A;Atr&#x000D;&#x000A;Ceilling&#x000D;&#x000A;Cosine&#x000D;&#x000A;Exp&#x000D;&#x000A;Floor&#x000D;&#x000A;IsNonZero&#x000D;&#x000A;IsZero&#x000D;&#x000A;Log&#x000D;&#x000A;Power&#x000D;&#x000A;Round&#x000D;&#x000A;Sign&#x000D;&#x000A;Sine&#x000D;&#x000A;SquareRoot&#x000D;&#x000A;Tangent</Keywords>
<Keywords name="Keywords4">Series&#x000D;&#x000A;input&#x000D;&#x000A;numeric&#x000D;&#x000A;bool&#x000D;&#x000A;float&#x000D;&#x000A;close&#x000D;&#x000A;Lowest&#x000D;&#x000A;Highest&#x000D;&#x000A;open&#x000D;&#x000A;high&#x000D;&#x000A;low&#x000D;&#x000A;ticksize&#x000D;&#x000A;void&#x000D;&#x000A;PrevDayOpen&#x000D;&#x000A;PrevDayHigh&#x000D;&#x000A;PrevDayLow&#x000D;&#x000A;PrevDayClose</Keywords>
<Keywords name="Keywords5">BarsSinceEntry&#x000D;&#x000A;CurrentBarindex&#x000D;&#x000A;IndexOfHighest&#x000D;&#x000A;IndexOfLowest&#x000D;&#x000A;IsBarCompleted&#x000D;&#x000A;IsFinalBar&#x000D;&#x000A;IsFirstBar&#x000D;&#x000A;CalculateAtEveryTick&#x000D;&#x000A;IsNewday</Keywords>
<Keywords name="Keywords6">HighLightRGB&#x000D;&#x000A;Plot&#x000D;&#x000A;PlotBand&#x000D;&#x000A;plotcrossinglines&#x000D;&#x000A;PlotLine&#x000D;&#x000A;PloteBars&#x000D;&#x000A;PlotCandles&#x000D;&#x000A;MessageBox&#x000D;&#x000A;HighLight&#x000D;&#x000A;ShowTip&#x000D;&#x000A;GetPriceFormat&#x000D;&#x000A;SetYSclaeFormat</Keywords>
<Keywords name="Keywords7">triggerline&#x000D;&#x000A;band</Keywords>
<Keywords name="Keywords8">green&#x000D;&#x000A;lightblue&#x000D;&#x000A;lightgreen&#x000D;&#x000A;lightred&#x000D;&#x000A;bleu&#x000D;&#x000A;red&#x000D;&#x000A;grey&#x000D;&#x000A;black&#x000D;&#x000A;</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" fontName="Consolas" fontStyle="0" fontSize="10" nesting="0" />
<WordsStyle name="COMMENTS" fgColor="808040" bgColor="3F3F3F" fontName="" fontStyle="1" nesting="4" />
<WordsStyle name="LINE COMMENTS" fgColor="7F9F7F" bgColor="FFFFFF" fontName="" fontStyle="1" nesting="4" />
<WordsStyle name="NUMBERS" fgColor="FF8080" bgColor="FFFFFF" fontName="" fontStyle="1" nesting="0" />
<WordsStyle name="KEYWORDS1" fgColor="0080FF" bgColor="FFFFFF" fontName="" fontStyle="1" nesting="0" />
<WordsStyle name="KEYWORDS2" fgColor="E3CEAB" bgColor="FFFFFF" fontName="" fontStyle="1" nesting="0" />
<WordsStyle name="KEYWORDS3" fgColor="CEDF99" bgColor="FFFFFF" fontName="" fontStyle="1" nesting="0" />
<WordsStyle name="KEYWORDS4" fgColor="CC9393" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="KEYWORDS5" fgColor="DDDD00" bgColor="FFFFFF" fontName="" fontStyle="1" nesting="0" />
<WordsStyle name="KEYWORDS6" fgColor="CEDF99" bgColor="FFFFFF" fontName="Consolas" fontStyle="1" fontSize="10" nesting="0" />
<WordsStyle name="KEYWORDS7" fgColor="0080FF" bgColor="FFFFFF" fontName="" fontStyle="1" nesting="0" />
<WordsStyle name="KEYWORDS8" fgColor="CD8BCD" bgColor="FFFFFF" fontName="" fontStyle="1" nesting="0" />
<WordsStyle name="OPERATORS" fgColor="0080FF" bgColor="FFFFFF" fontName="" fontStyle="1" nesting="0" />
<WordsStyle name="FOLDER IN CODE1" fgColor="80FF00" bgColor="004040" fontName="" fontStyle="1" nesting="0" />
<WordsStyle name="FOLDER IN CODE2" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="FOLDER IN COMMENT" fgColor="0080FF" bgColor="FFFFFF" fontName="Consolas" fontStyle="1" nesting="0" />
<WordsStyle name="DELIMITERS1" fgColor="808040" bgColor="3F3F3F" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="DELIMITERS2" fgColor="FF0080" bgColor="3F3F3F" fontName="" fontStyle="1" nesting="67109121" />
<WordsStyle name="DELIMITERS3" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="DELIMITERS4" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="DELIMITERS5" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="DELIMITERS6" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="DELIMITERS7" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="DELIMITERS8" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
</Styles>
</UserLang>
</NotepadPlus>
Post Reply

Return to “WHS NanoTrader”