Syntax highlighters

From Niotso Wiki
Jump to: navigation, search

Notepad++[edit]

To make use of these, save them as XML files somewhere. They can then be imported into Notepad++ by using View -> User-Defined Dialogue.

MakeTrax[edit]

<NotepadPlus>
    <UserLang name="MakeTrax" ext="">
        <Settings>
            <Global caseIgnored="no" />
            <TreatAsSymbol comment="no" commentLine="yes" />
            <Prefix words1="no" words2="yes" words3="no" words4="no" />
        </Settings>
        <KeywordLists>
            <Keywords name="Delimiters">000000</Keywords>
            <Keywords name="Folder+">BINARY</Keywords>
            <Keywords name="Folder-">]</Keywords>
            <Keywords name="Operators">=</Keywords>
            <Keywords name="Comment"> 1 1 2 2 0;</Keywords>
            <Keywords name="Words1">BASEID_TRACKDATA INCLUDE INIFILE LIST SYMBOLFILE include</Keywords>
            <Keywords name="Words2">#</Keywords>
            <Keywords name="Words3">v1 v2 v3 v4 v5 v6 v7 v8 h1 h2 h3 h4 arg0 arg1 arg2 arg3 arg4</Keywords>
            <Keywords name="Words4">note note_on note_off loadb loadl set settt call return wait callentrypoint wait_samp end jump test nop add sub div mul cmp less greater not rand abs limit error assert add_to_group remove_from_group get_var loop set_loop callback smart_add smart_remove smart_removeall smart_setcrit smart_choose and nand or nor xor max min inc dec printreg play_trk kill_trk push push_mask push_vars call_mask call_push pop test1 test2 test3 test4 ifeq ifne ifgt iflt ifge ifle smart_setlist seqgroup_kill seqgroup_wait seqgroup_return getsrcdatafield seqgroup_trkid setll setlt settl waiteq waitne waitgt waitlt waitge waitle duck unduck testx setlg setgl throw setsrcdatafield stop_trk setchanreg play_note stop_note kill_note smart_index note_on_loop</Keywords>
        </KeywordLists>
        <Styles>
            <WordsStyle name="DEFAULT" styleID="11" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" />
            <WordsStyle name="FOLDEROPEN" styleID="12" fgColor="000080" bgColor="FFFFFF" fontName="" fontStyle="1" />
            <WordsStyle name="FOLDERCLOSE" styleID="13" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" />
            <WordsStyle name="KEYWORD1" styleID="5" fgColor="0080FF" bgColor="FFFFFF" fontName="" fontStyle="1" />
            <WordsStyle name="KEYWORD2" styleID="6" fgColor="707070" bgColor="FFFFFF" fontName="" fontStyle="0" />
            <WordsStyle name="KEYWORD3" styleID="7" fgColor="8080FF" bgColor="FFFFCC" fontName="" fontStyle="1" />
            <WordsStyle name="KEYWORD4" styleID="8" fgColor="0000FF" bgColor="FFFFFF" fontName="" fontStyle="1" />
            <WordsStyle name="COMMENT" styleID="1" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" />
            <WordsStyle name="COMMENT LINE" styleID="2" fgColor="008000" bgColor="FFFFFF" fontName="" fontStyle="0" />
            <WordsStyle name="NUMBER" styleID="4" fgColor="FF8000" bgColor="FFFFFF" fontName="" fontStyle="0" />
            <WordsStyle name="OPERATOR" styleID="10" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" />
            <WordsStyle name="DELIMINER1" styleID="14" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" />
            <WordsStyle name="DELIMINER2" styleID="15" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" />
            <WordsStyle name="DELIMINER3" styleID="16" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" />
        </Styles>
    </UserLang>
</NotepadPlus>

UIS[edit]

<NotepadPlus>
    <UserLang name="UIS" ext="uis">
        <Settings>
            <Global caseIgnored="yes" escapeChar="\" />
            <TreatAsSymbol comment="no" commentLine="yes" />
            <Prefix words1="no" words2="no" words3="no" words4="no" />
        </Settings>
        <KeywordLists>
            <Keywords name="Delimiters">&quot;00&quot;00</Keywords>
            <Keywords name="Folder+">Begin</Keywords>
            <Keywords name="Folder-">End</Keywords>
            <Keywords name="Operators">&lt; = &gt;</Keywords>
            <Keywords name="Comment"> 1 2 0#</Keywords>
            <Keywords name="Words1">AddButton AddFormatedText AddListBox AddProgressBar AddSlider AddText AddTextEdit DefineImage DefineString</Keywords>
            <Keywords name="Words2">id position size textHighlighted font textColor textColorSelected textColorHighlighted textColorDisabled textButton text image ImageStates opaque lineHeight visibleRows columns alignments font rowHeight transparent fillColor selectionFillColor cursor foregroundImage backgroundImage minValue maxValue value orientation highlighted color alignment wrapped fitText lines capacity frameOnFocus flashOnEmpty notifyOnEnter mode scrollbarImage scrollbarGutter scrollbarType ResizeForExactLineHeights enableIME assetID stringDir stringTable stringIndex</Keywords>
            <Keywords name="Words3">SetControlProperties SetSharedProperties</Keywords>
            <Keywords name="Words4">backColor cursorColorframeColor useBackgroundImage edgeOffsetL edgeOffsetR edgeOffsetT edgeOffsetB enabled tooltip tracking trigger</Keywords>
        </KeywordLists>
        <Styles>
            <WordsStyle name="DEFAULT" styleID="11" fgColor="000000" bgColor="FFFFFF" fontStyle="1" />
            <WordsStyle name="FOLDEROPEN" styleID="12" fgColor="0000FF" bgColor="FFFFFF" fontStyle="1" />
            <WordsStyle name="FOLDERCLOSE" styleID="13" fgColor="0000FF" bgColor="FFFFFF" fontStyle="1" />
            <WordsStyle name="KEYWORD1" styleID="5" fgColor="0000FF" bgColor="FFFFFF" fontStyle="0" />
            <WordsStyle name="KEYWORD2" styleID="6" fgColor="FF0000" bgColor="FFFFFF" fontStyle="0" />
            <WordsStyle name="KEYWORD3" styleID="7" fgColor="0080FF" bgColor="FFFFFF" fontStyle="0" />
            <WordsStyle name="KEYWORD4" styleID="8" fgColor="FF0000" bgColor="FFFFFF" fontStyle="2" />
            <WordsStyle name="COMMENT" styleID="1" fgColor="000000" bgColor="FFFFFF" fontStyle="0" />
            <WordsStyle name="COMMENT LINE" styleID="2" fgColor="008000" bgColor="FFFFFF" fontStyle="0" />
            <WordsStyle name="NUMBER" styleID="4" fgColor="000000" bgColor="FFFFFF" fontStyle="1" />
            <WordsStyle name="OPERATOR" styleID="10" fgColor="000000" bgColor="FFFFFF" fontStyle="0" />
            <WordsStyle name="DELIMINER1" styleID="14" fgColor="8000FF" bgColor="FFFFFF" fontStyle="1" />
            <WordsStyle name="DELIMINER2" styleID="15" fgColor="000000" bgColor="FFFFFF" fontStyle="0" />
            <WordsStyle name="DELIMINER3" styleID="16" fgColor="000000" bgColor="FFFFFF" fontStyle="0" />
        </Styles>
    </UserLang>
</NotepadPlus>