Syntax highlighter for Notepad++

Is there an xml file available for using Notepad++ for coding with AFL?

@burger if you search Google you'll find it for the previous version of AmiBroker (I got a version that included functions up to version 6.0), and need some tweaking to work correctly, but IMHO today the AFL editor is more than adequate with code folding, syntax highlighting, autocomplete and parameters info (that I find very useful :smiley:)

3 Likes

I agree with @beppe regarding the quality of the AFL Editor built into AmiBroker. Two reasons that I still use Notepad++ on occasion are:

  1. NP++ has a File Compare plug-in which makes it easy to see what's changed between two versions of an AFL file
  2. Ability to create a file association between AFL and NP++ so that when I double-click an AFL file in Windows Explorer, open it from email, etc. I can see the file in an editor without first opening AB, going to the AFL editor, and then finding the file through the Open File dialog.
4 Likes

Thank you for the replies beppe & mradtke.

I thought there was one out there at one time.

plus Code Snippets :slight_smile: that are user-extensible and the debugger.

3 Likes

Would be nice to drag an drop files into the formula editor from explorer.
Also would be nice if the formula editor could be registered as default editor for .afl extensions, so a double click from explorer would bring it up.

3 Likes

I just came across this and found the solution in the memberszone: http://www.amibroker.com/members/library/detail.php?id=1414

I got it working with my Notepad++ v7.8.6 (64-bit) version.

Maybe it helps someone else in the future.

1 Like


Updated NPP AFL Highlighter
All Normal functions in Blue
Matrix Functions in Purple
Gfx and GUI Function in Pink
Comments Light Yellow Background
Keywords are in Green
Controlling structures like if, while case function etc are in Red
I have tried to cover most of the functions key words, let me know if any thing is left.

<NotepadPlus>
    <UserLang name="AFL" ext="afl" 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((EOL)) 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">! % &amp;amp; &quot; &quot; ( ) , . : ; ? { } [ ] ^ | + - &amp;lt; = &amp;gt; != ! = &gt; &lt; &gt;= &lt;= == ++ -- = * / *= /= %= += -= &amp;= |=</Keywords>
            <Keywords name="Operators2">!= ! = &gt; &lt; &gt;= &lt;= == ++ -- = * / *= /= %= += -= &amp;= |=</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"></Keywords>
            <Keywords name="Folders in comment, middle"></Keywords>
            <Keywords name="Folders in comment, close"></Keywords>
            <Keywords name="Keywords1">AND False NOT Null OR True Avg BarCount Buy&#x000D;&#x000A;BuyPrice C Close Column0 Column0Format Column0Name Column1 Column1Format&#x000D;&#x000A;Column1Name Column2 Column2Format Column2Name Column3 Column3Format Column3Name&#x000D;&#x000A;Column4 Column4Format Column4Name Column5 Column5Format Column5Name Column6&#x000D;&#x000A;Column6Format Column6Name Column7 Column7Format Column7Name Column8&#x000D;&#x000A;Column8Format Column8Name Column9 Column9Format Column9Name Cover CoverPrice&#x000D;&#x000A;Exclude Filter Graph0 Graph0BarColor Graph0Color Graph0High Graph0Low Graph0Name&#x000D;&#x000A;Graph0Open Graph0Style Graph1 Graph1BarColor Graph1Color Graph1High Graph1Low&#x000D;&#x000A;Graph1Name Graph1Open Graph1Style Graph2 Graph2BarColor Graph2Color Graph2High&#x000D;&#x000A;Graph2Low Graph2Name Graph2Open Graph2Style Graph3 Graph3BarColor Graph3Color&#x000D;&#x000A;Graph3High Graph3Low Graph3Name Graph3Open Graph3Style Graph4 Graph4BarColor&#x000D;&#x000A;Graph4Color Graph4High Graph4Low Graph4Name Graph4Open Graph4Style Graph5&#x000D;&#x000A;Graph5BarColor Graph5Color Graph5High Graph5Low Graph5Name Graph5Open&#x000D;&#x000A;Graph5Style Graph6 Graph6BarColor Graph6Color Graph6High Graph6Low Graph6Name&#x000D;&#x000A;Graph6Open Graph6Style Graph7 Graph7BarColor Graph7Color Graph7High Graph7Low&#x000D;&#x000A;Graph7Name Graph7Open Graph7Style Graph8 Graph8BarColor Graph8Color Graph8High&#x000D;&#x000A;Graph8Low Graph8Name Graph8Open Graph8Style Graph9 Graph9BarColor Graph9Color&#x000D;&#x000A;Graph9High Graph9Low Graph9Name Graph9Open Graph9Style GraphXSpace GraphZOrder H&#x000D;&#x000A;High L Low MarginDeposit MaxGraph NumColumns O OI Open OpenInt PointValue&#x000D;&#x000A;PositionScore PositionSize RoundLotSize Sell SellPrice Short ShortPrice TickSize&#x000D;&#x000A;Title V Volume actionBacktest actionCommentary actionExplore actionIndicator&#x000D;&#x000A;actionOptimize actionPortfolio actionScan chartShowArrows chartShowDates&#x000D;&#x000A;colorAqua colorBlack colorBlue colorBlueGrey colorBrightGreen colorBrown&#x000D;&#x000A;colorCustom1 colorCustom10 colorCustom11 colorCustom12 colorCustom13&#x000D;&#x000A;colorCustom14 colorCustom15 colorCustom16 colorCustom2 colorCustom3 colorCustom4&#x000D;&#x000A;colorCustom5 colorCustom6 colorCustom7 colorCustom8 colorCycle colorDarkBlue&#x000D;&#x000A;colorDarkGreen colorDarkGrey colorDarkOliveGreen colorDarkRed colorDarkTeal&#x000D;&#x000A;colorDarkYellow colorDefault colorGold colorGreen colorGrey40 colorGrey50&#x000D;&#x000A;colorIndigo colorLavender colorLightBlue colorLightGrey colorLightOrange&#x000D;&#x000A;colorLightYellow colorLime colorOrange colorPaleBlue colorPaleGreen&#x000D;&#x000A;colorPaleTurquoise colorPink colorPlum colorRed colorRose colorSeaGreen&#x000D;&#x000A;colorSkyblue colorTan colorTeal colorTurquoise colorViolet colorWhite&#x000D;&#x000A;colorYellow compressHigh compressLast compressLow compressOpen compressVolume&#x000D;&#x000A;expandFirst expandLast expandPoint in15Minute in1Minute in5Minute inDaily&#x000D;&#x000A;inHourly inMonthly inWeekly maskHistogramscoreNoRotate shapeCircle shapeDigit0&#x000D;&#x000A;shapeDigit1 shapeDigit2 shapeDigit3 shapeDigit4 shapeDigit5 shapeDigit6&#x000D;&#x000A;shapeDigit7 shapeDigit8 shapeDigit9 shapeDownArrow shapeDownTriangle&#x000D;&#x000A;shapeHollowCircle shapeHollowDownArrow shapeHollowDownTriangle&#x000D;&#x000A;shapeHollowSmallCircle shapeHollowSmallDownTriangle shapeHollowSmallSquare&#x000D;&#x000A;shapeHollowSmallUpTriangle shapeHollowSquare shapeHollowStar shapeHollowUpArrow&#x000D;&#x000A;shapeHollowUpTriangle shapeNone shapePositionAbove shapeSmallCircle&#x000D;&#x000A;shapeSmallDownTriangle shapeSmallSquare shapeSmallUpTriangle shapeSquare&#x000D;&#x000A;shapeStar shapeUpArrow shapeUpTriangle styleArea styleBar styleCandle styleDots&#x000D;&#x000A;styleHistogram styleLeftAxisScale styleLine styleNoDraw styleNoLabel styleNoLine&#x000D;&#x000A;styleNoRescale styleNoTitle styleOwnScale stylePointAndFigure styleStaircase&#x000D;&#x000A;styleSwingDots styleThick </Keywords>
            <Keywords name="Keywords2">abs AccDist acos AddColumn AddMultiTextColumn AddRankColumn AddRow AddSummaryRows&#x000D;&#x000A;AddTextColumn&#x000D;&#x000A;AddToComposite&#x000D;&#x000A;ADLine&#x000D;&#x000A;AdvIssues&#x000D;&#x000A;AdvVolume&#x000D;&#x000A;ADX&#x000D;&#x000A;AlertIf&#x000D;&#x000A;AlmostEqual&#x000D;&#x000A;AMA&#x000D;&#x000A;AMA2&#x000D;&#x000A;ApplyStop&#x000D;&#x000A;Asc&#x000D;&#x000A;asin&#x000D;&#x000A;atan&#x000D;&#x000A;atan2&#x000D;&#x000A;ATR&#x000D;&#x000A;BarIndex&#x000D;&#x000A;BarsSince&#x000D;&#x000A;BarsSinceCompare&#x000D;&#x000A;BBandBot&#x000D;&#x000A;BBandTop&#x000D;&#x000A;BeginValue&#x000D;&#x000A;CategoryAddSymbol&#x000D;&#x000A;CategoryCreate&#x000D;&#x000A;CategoryFind&#x000D;&#x000A;CategoryGetName&#x000D;&#x000A;CategoryGetSymbols&#x000D;&#x000A;CategoryRemoveSymbol&#x000D;&#x000A;CategorySetName&#x000D;&#x000A;CCI&#x000D;&#x000A;ceil&#x000D;&#x000A;Chaikin&#x000D;&#x000A;Chr&#x000D;&#x000A;ClipboardGet&#x000D;&#x000A;ClipboardSet&#x000D;&#x000A;ColorBlend&#x000D;&#x000A;ColorHSB&#x000D;&#x000A;ColorRGB&#x000D;&#x000A;Correlation&#x000D;&#x000A;cos&#x000D;&#x000A;cosh&#x000D;&#x000A;CreateObject&#x000D;&#x000A;CreateStaticObject&#x000D;&#x000A;Cross&#x000D;&#x000A;Cum&#x000D;&#x000A;CumProd&#x000D;&#x000A;Date&#x000D;&#x000A;DateNum&#x000D;&#x000A;DateTime&#x000D;&#x000A;DateTimeAdd&#x000D;&#x000A;DateTimeConvert&#x000D;&#x000A;DateTimeDiff&#x000D;&#x000A;DateTimeFormat&#x000D;&#x000A;DateTimeToStr&#x000D;&#x000A;Day&#x000D;&#x000A;DayOfWeek&#x000D;&#x000A;DayOfYear&#x000D;&#x000A;DaysSince1900&#x000D;&#x000A;DecIssues&#x000D;&#x000A;DecVolume&#x000D;&#x000A;DEMA&#x000D;&#x000A;EMA&#x000D;&#x000A;EnableRotationalTrading&#x000D;&#x000A;EnableScript&#x000D;&#x000A;EnableTextOutput&#x000D;&#x000A;EncodeColor&#x000D;&#x000A;EndValue&#x000D;&#x000A;Equity&#x000D;&#x000A;erf&#x000D;&#x000A;Error&#x000D;&#x000A;EXP&#x000D;&#x000A;ExRem&#x000D;&#x000A;ExRemSpan&#x000D;&#x000A;fclose&#x000D;&#x000A;fdelete&#x000D;&#x000A;fdir&#x000D;&#x000A;feof&#x000D;&#x000A;FFT&#x000D;&#x000A;fgetcwd&#x000D;&#x000A;fgets&#x000D;&#x000A;fgetstatus&#x000D;&#x000A;FindIndex&#x000D;&#x000A;FIR&#x000D;&#x000A;FirstVisibleValue&#x000D;&#x000A;Flip&#x000D;&#x000A;floor&#x000D;&#x000A;fmkdir&#x000D;&#x000A;fopen&#x000D;&#x000A;Foreign&#x000D;&#x000A;fputs&#x000D;&#x000A;frac&#x000D;&#x000A;frmdir&#x000D;&#x000A;FullName&#x000D;&#x000A;GapDown&#x000D;&#x000A;GapUp&#x000D;&#x000A;GetAsyncKeyState&#x000D;&#x000A;GetBacktesterObject&#x000D;&#x000A;GetBaseIndex&#x000D;&#x000A;GetCategorySymbols&#x000D;&#x000A;GetChartBkColor&#x000D;&#x000A;GetChartID&#x000D;&#x000A;GetCursorMouseButtons&#x000D;&#x000A;GetCursorXPosition&#x000D;&#x000A;GetCursorYPosition&#x000D;&#x000A;GetDatabaseName&#x000D;&#x000A;GetExtraData&#x000D;&#x000A;GetExtraDataForeign&#x000D;&#x000A;GetFnData&#x000D;&#x000A;GetFnDataForeign&#x000D;&#x000A;GetFormulaPath&#x000D;&#x000A;GetLastOSError&#x000D;&#x000A;GetObject&#x000D;&#x000A;GetOption&#x000D;&#x000A;GetPerformanceCounter&#x000D;&#x000A;GetPlaybackDateTime&#x000D;&#x000A;GetPriceStyle&#x000D;&#x000A;GetRTData&#x000D;&#x000A;GetRTDataForeign&#x000D;&#x000A;GetScriptObject&#x000D;&#x000A;GetTradingInterface&#x000D;&#x000A;GicsID&#x000D;&#x000A;GroupID&#x000D;&#x000A;HHV&#x000D;&#x000A;HHVBars&#x000D;&#x000A;Highest&#x000D;&#x000A;HighestBars&#x000D;&#x000A;HighestSince&#x000D;&#x000A;HighestSinceBars&#x000D;&#x000A;HighestVisibleValue&#x000D;&#x000A;HMA&#x000D;&#x000A;Hold&#x000D;&#x000A;Hour&#x000D;&#x000A;IcbID&#x000D;&#x000A;IIf&#x000D;&#x000A;IIR&#x000D;&#x000A;IndustryID&#x000D;&#x000A;InGICS&#x000D;&#x000A;InICB&#x000D;&#x000A;Inside&#x000D;&#x000A;Int&#x000D;&#x000A;InternetClose&#x000D;&#x000A;InternetGetStatusCode&#x000D;&#x000A;InternetOpenURL&#x000D;&#x000A;InternetPostRequest&#x000D;&#x000A;InternetReadString&#x000D;&#x000A;InternetSetAgent&#x000D;&#x000A;InternetSetHeaders&#x000D;&#x000A;InternetSetOption&#x000D;&#x000A;Interval&#x000D;&#x000A;inverf&#x000D;&#x000A;InWatchList&#x000D;&#x000A;InWatchListName&#x000D;&#x000A;IsContinuous&#x000D;&#x000A;IsEmpty&#x000D;&#x000A;IsFavorite&#x000D;&#x000A;IsFinite&#x000D;&#x000A;IsIndex&#x000D;&#x000A;IsNan&#x000D;&#x000A;IsNull&#x000D;&#x000A;IsTrue&#x000D;&#x000A;Kurtosis&#x000D;&#x000A;LastValue&#x000D;&#x000A;LastVisibleValue&#x000D;&#x000A;LineArray&#x000D;&#x000A;LinearReg&#x000D;&#x000A;LinRegIntercept&#x000D;&#x000A;LinRegSlope&#x000D;&#x000A;LLV&#x000D;&#x000A;LLVBars&#x000D;&#x000A;log&#x000D;&#x000A;log10&#x000D;&#x000A;Lookup&#x000D;&#x000A;Lowest&#x000D;&#x000A;LowestBars&#x000D;&#x000A;LowestSince&#x000D;&#x000A;LowestSinceBars&#x000D;&#x000A;LowestVisibleValue&#x000D;&#x000A;MA&#x000D;&#x000A;MACD&#x000D;&#x000A;MarketID&#x000D;&#x000A;Max&#x000D;&#x000A;MDI&#x000D;&#x000A;Median&#x000D;&#x000A;MFI&#x000D;&#x000A;MicroSec&#x000D;&#x000A;MilliSec&#x000D;&#x000A;Min&#x000D;&#x000A;Minute&#x000D;&#x000A;Month&#x000D;&#x000A;mtRandom&#x000D;&#x000A;mtRandomA&#x000D;&#x000A;Name&#x000D;&#x000A;NormDist&#x000D;&#x000A;NoteGet&#x000D;&#x000A;NoteSet&#x000D;&#x000A;Now&#x000D;&#x000A;NullCount&#x000D;&#x000A;NumToStr&#x000D;&#x000A;NVI&#x000D;&#x000A;Nz&#x000D;&#x000A;OBV&#x000D;&#x000A;Optimize&#x000D;&#x000A;OptimizerSetEngine&#x000D;&#x000A;OptimizerSetOption&#x000D;&#x000A;OscP&#x000D;&#x000A;OscV&#x000D;&#x000A;Outside&#x000D;&#x000A;Param&#x000D;&#x000A;ParamColor&#x000D;&#x000A;ParamDate&#x000D;&#x000A;ParamField&#x000D;&#x000A;ParamList&#x000D;&#x000A;ParamStr&#x000D;&#x000A;ParamStyle&#x000D;&#x000A;ParamTime&#x000D;&#x000A;ParamToggle&#x000D;&#x000A;ParamTrigger&#x000D;&#x000A;PDI&#x000D;&#x000A;Peak&#x000D;&#x000A;PeakBars&#x000D;&#x000A;Percentile&#x000D;&#x000A;PercentRank&#x000D;&#x000A;PlaySound&#x000D;&#x000A;Plot&#x000D;&#x000A;PlotForeign&#x000D;&#x000A;PlotGrid&#x000D;&#x000A;PlotOHLC&#x000D;&#x000A;PlotShapes&#x000D;&#x000A;PlotText&#x000D;&#x000A;PlotTextSetFont&#x000D;&#x000A;PlotVAPOverlay&#x000D;&#x000A;PlotVAPOverlayA&#x000D;&#x000A;PopupWindow&#x000D;&#x000A;Prec&#x000D;&#x000A;Prefs&#x000D;&#x000A;printf&#x000D;&#x000A;Prod&#x000D;&#x000A;ProdSince&#x000D;&#x000A;PVI&#x000D;&#x000A;Random&#x000D;&#x000A;Ref&#x000D;&#x000A;RelStrength&#x000D;&#x000A;Remap&#x000D;&#x000A;RequestMouseMoveRefresh&#x000D;&#x000A;RequestTimedRefresh&#x000D;&#x000A;RestorePriceArrays&#x000D;&#x000A;Reverse&#x000D;&#x000A;RMI&#x000D;&#x000A;ROC&#x000D;&#x000A;Round&#x000D;&#x000A;RSI&#x000D;&#x000A;RWI&#x000D;&#x000A;RWIHi&#x000D;&#x000A;RWILo&#x000D;&#x000A;SafeDivide&#x000D;&#x000A;SAR&#x000D;&#x000A;Say&#x000D;&#x000A;Second&#x000D;&#x000A;SectorID&#x000D;&#x000A;SelectedValue&#x000D;&#x000A;SendEmail&#x000D;&#x000A;SetBacktestMode&#x000D;&#x000A;SetBarFillColor&#x000D;&#x000A;SetBarsRequired&#x000D;&#x000A;SetChartBkColor&#x000D;&#x000A;SetChartBkGradientFill&#x000D;&#x000A;SetChartOptions&#x000D;&#x000A;SetCustomBacktestProc&#x000D;&#x000A;SetForeign&#x000D;&#x000A;SetFormulaName&#x000D;&#x000A;SetGradientFill&#x000D;&#x000A;SetOption&#x000D;&#x000A;SetPositionSize&#x000D;&#x000A;SetSortColumns&#x000D;&#x000A;SetStopPrecedence&#x000D;&#x000A;SetTradeDelays&#x000D;&#x000A;ShellExecute&#x000D;&#x000A;sign&#x000D;&#x000A;Signal&#x000D;&#x000A;sin&#x000D;&#x000A;sinh&#x000D;&#x000A;Skewness&#x000D;&#x000A;Sort&#x000D;&#x000A;SparseCompress&#x000D;&#x000A;SparseExpand&#x000D;&#x000A;sqrt&#x000D;&#x000A;StaticVarAdd&#x000D;&#x000A;StaticVarCompareExchange&#x000D;&#x000A;StaticVarCount&#x000D;&#x000A;StaticVarGenerateRanks&#x000D;&#x000A;StaticVarGet&#x000D;&#x000A;StaticVarGetRankedSymbols&#x000D;&#x000A;StaticVarGetText&#x000D;&#x000A;StaticVarInfo&#x000D;&#x000A;StaticVarRemove&#x000D;&#x000A;StaticVarSet&#x000D;&#x000A;StaticVarSetText&#x000D;&#x000A;Status&#x000D;&#x000A;StdErr&#x000D;&#x000A;StDev&#x000D;&#x000A;StochD&#x000D;&#x000A;StochK&#x000D;&#x000A;StrCount&#x000D;&#x000A;StrExtract&#x000D;&#x000A;StrFind&#x000D;&#x000A;StrFormat&#x000D;&#x000A;StrLeft&#x000D;&#x000A;StrLen&#x000D;&#x000A;StrMatch&#x000D;&#x000A;StrMid&#x000D;&#x000A;StrReplace&#x000D;&#x000A;StrRight&#x000D;&#x000A;StrSort&#x000D;&#x000A;StrToDateTime&#x000D;&#x000A;StrToLower&#x000D;&#x000A;StrToNum&#x000D;&#x000A;StrToUpper&#x000D;&#x000A;StrTrim&#x000D;&#x000A;Study&#x000D;&#x000A;Sum&#x000D;&#x000A;SumSince&#x000D;&#x000A;tan&#x000D;&#x000A;tanh&#x000D;&#x000A;TEMA&#x000D;&#x000A;ThreadSleep&#x000D;&#x000A;TimeFrameCompress&#x000D;&#x000A;TimeFrameExpand&#x000D;&#x000A;TimeFrameGetPrice&#x000D;&#x000A;TimeFrameMode&#x000D;&#x000A;TimeFrameRestore&#x000D;&#x000A;TimeFrameSet&#x000D;&#x000A;TimeNum&#x000D;&#x000A;Trin&#x000D;&#x000A;TRIX&#x000D;&#x000A;Trough&#x000D;&#x000A;TroughBars&#x000D;&#x000A;TSF&#x000D;&#x000A;Ultimate&#x000D;&#x000A;UncIssues&#x000D;&#x000A;UncVolume&#x000D;&#x000A;ValueWhen&#x000D;&#x000A;VarGet&#x000D;&#x000A;VarGetText&#x000D;&#x000A;VarSet&#x000D;&#x000A;VarSetText&#x000D;&#x000A;Version&#x000D;&#x000A;VoiceCount&#x000D;&#x000A;VoiceSelect&#x000D;&#x000A;VoiceSetRate&#x000D;&#x000A;VoiceSetVolume&#x000D;&#x000A;VoiceWaitUntilDone&#x000D;&#x000A;Wilders&#x000D;&#x000A;WMA&#x000D;&#x000A;WriteIf&#x000D;&#x000A;WriteVal&#x000D;&#x000A;XYChartAddPoint&#x000D;&#x000A;XYChartSetAxis&#x000D;&#x000A;Year&#x000D;&#x000A;ZIG&#x000D;&#x000A;</Keywords>
            <Keywords name="Keywords3">#include #include_once #pragma do else for&#x000D;&#x000A;function global if local procedure return while&#x000D;&#x000A;static local global continue &#x000D;&#x000A;default case break switch typeof</Keywords>
            <Keywords name="Keywords4">_DEFAULT_NAME&#x000D;&#x000A;_DT&#x000D;&#x000A;_exit&#x000D;&#x000A;_N&#x000D;&#x000A;_PARAM_VALUES&#x000D;&#x000A;_SECTION_BEGIN&#x000D;&#x000A;_SECTION_END&#x000D;&#x000A;_SECTION_NAME&#x000D;&#x000A;_TRACE&#x000D;&#x000A;_TRACEF&#x000D;&#x000A;</Keywords>
            <Keywords name="Keywords5">GfxMoveTo GfxLineTo GfxSetPixel GfxTextOut GfxSelectPen GfxSelectSolidBrush GfxSelectFont GfxRectangle GfxRoundRect GfxPie GfxEllipse GfxCircle GfxChord GfxArc GfxPolygon GfxPolyline GfxSetTextColor GfxSetTextAlign GfxSetBkColor GfxSetBkMode GfxGradientRect GfxDrawText GfxSetOverlayMode GfxSetCoordsMode GfxSetZOrder GfxGetTextWidth GuiButton GuiCheckBox GuiDateTime GuiEdit GuiEnable &#x000D;&#x000A;GuiGetCheck GuiGetEvent GuiGetText GuiGetValue &#x000D;&#x000A;GuiRadio GuiSendKeyEvents GuiSetCheck &#x000D;&#x000A;GuiSetColors &#x000D;&#x000A;GuiSetFont &#x000D;&#x000A;GuiSetRange &#x000D;&#x000A;GuiSetText &#x000D;&#x000A;GuiSetValue &#x000D;&#x000A;GuiSetVisible &#x000D;&#x000A;GuiSlider GuiToggle</Keywords>
            <Keywords name="Keywords6">MxCopy MxDet MxFromString MxGetBlock MxGetSize MxIdentity MxInverse MxSetBlock &#x000D;&#x000A;MxSolve MxSort MxSortRows MxSum MxToString&#x000D;&#x000A;MxTranspose Matrix PriceVolDistribution</Keywords>
            <Keywords name="Keywords7"></Keywords>
            <Keywords name="Keywords8"></Keywords>
            <Keywords name="Delimiters"></Keywords>
        </KeywordLists>
        <Styles>
            <WordsStyle name="DEFAULT" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" />
            <WordsStyle name="COMMENTS" fgColor="000000" bgColor="FFFFB7" fontName="@Malgun Gothic" fontStyle="1" fontSize="10" nesting="0" />
            <WordsStyle name="LINE COMMENTS" fgColor="804000" bgColor="FFFFB7" fontName="@Arial Unicode MS" fontStyle="1" fontSize="10" nesting="0" />
            <WordsStyle name="NUMBERS" fgColor="004000" bgColor="FFFFFF" fontName="@Arial Unicode MS" fontStyle="1" fontSize="10" nesting="0" />
            <WordsStyle name="KEYWORDS1" fgColor="008040" bgColor="FFFFFF" fontName="@Arial Unicode MS" fontStyle="1" fontSize="11" nesting="0" />
            <WordsStyle name="KEYWORDS2" fgColor="0000FF" bgColor="FFFFFF" fontName="@Arial Unicode MS" fontStyle="0" fontSize="11" nesting="0" />
            <WordsStyle name="KEYWORDS3" fgColor="FF0000" bgColor="FFFFFF" fontName="@Arial Unicode MS" fontStyle="1" fontSize="11" nesting="0" />
            <WordsStyle name="KEYWORDS4" fgColor="004000" bgColor="FFFFFF" fontName="@Arial Unicode MS" fontStyle="1" fontSize="10" nesting="0" />
            <WordsStyle name="KEYWORDS5" fgColor="FF00FF" bgColor="FFFFFF" fontName="@Arial Unicode MS" fontStyle="0" fontSize="11" nesting="0" />
            <WordsStyle name="KEYWORDS6" fgColor="800000" bgColor="FFFFFF" fontName="@Arial Unicode MS" fontStyle="1" fontSize="10" 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="800080" bgColor="FFFFFF" fontName="@Arial Unicode MS" fontStyle="1" fontSize="11" nesting="0" />
            <WordsStyle name="FOLDER IN CODE1" fgColor="000000" bgColor="FFFFFF" fontStyle="0" 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="0" nesting="0" />
            <WordsStyle name="DELIMITERS1" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" />
            <WordsStyle name="DELIMITERS2" fgColor="008040" bgColor="FFFFFF" fontName="@Arial Unicode MS" fontStyle="1" fontSize="12" nesting="0" />
            <WordsStyle name="DELIMITERS3" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" />
            <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>

I have made AFL Syntax highlighter for Notepad++
BUT.... STILL ....
The default AFL Editor of Amibroker takes care of all.