Advertisement
SReject

NPP MSL Grammar

Jan 11th, 2018
223
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 6.98 KB | None | 0 0
  1. <!--
  2. Loading:
  3.  1. Save this file as msl.npp.xml
  4.  2. Open Notepad++
  5.  3. In the menubar click "Language" then "Define your language"
  6.  4. Click the "Create New" button, Enter the name as "mSL" and then click the "OK" button
  7.  5. Click the "Import" Button, navigate to where you saved this file, select it and click the "Open" Button
  8.  6. If you so choose, go through the tabs clicking the "Styler" buttons and adjust the text-format to your liking
  9. -->
  10. <NotepadPlus>
  11.     <UserLang name="mSL" ext="mrc" udlVersion="2.1">
  12.         <Settings>
  13.             <Global caseIgnored="yes" allowFoldOfComments="yes" foldCompact="no" forcePureLC="2" decimalSeparator="0" />
  14.             <Prefix Keywords1="no" Keywords2="no" Keywords3="yes" Keywords4="yes" Keywords5="yes" Keywords6="yes" Keywords7="no" Keywords8="no" />
  15.         </Settings>
  16.         <KeywordLists>
  17.             <Keywords name="Comments">00; 01 02 03/* 04*/</Keywords>
  18.             <Keywords name="Numbers, prefix1"></Keywords>
  19.             <Keywords name="Numbers, prefix2"></Keywords>
  20.             <Keywords name="Numbers, extras1"></Keywords>
  21.             <Keywords name="Numbers, extras2"></Keywords>
  22.             <Keywords name="Numbers, suffix1"></Keywords>
  23.             <Keywords name="Numbers, suffix2"></Keywords>
  24.             <Keywords name="Numbers, range"></Keywords>
  25.             <Keywords name="Operators1">( ) [ ] ! . , :</Keywords>
  26.             <Keywords name="Operators2">&amp;&amp; || === == = === == = &lt;= &lt; &gt;= &gt; // \\ isin isincs iswm iswmcs isnum isletter isalpha islower isupper ison isop ishop isvoice isreg ischan isban isinvite isexcept isaop isavoice isignore isprotect isnotify</Keywords>
  27.             <Keywords name="Folders in code1, open"></Keywords>
  28.             <Keywords name="Folders in code1, middle"></Keywords>
  29.             <Keywords name="Folders in code1, close"></Keywords>
  30.             <Keywords name="Folders in code2, open">{</Keywords>
  31.             <Keywords name="Folders in code2, middle"></Keywords>
  32.             <Keywords name="Folders in code2, close">}</Keywords>
  33.             <Keywords name="Folders in comment, open">/*</Keywords>
  34.             <Keywords name="Folders in comment, middle"></Keywords>
  35.             <Keywords name="Folders in comment, close">*/</Keywords>
  36.             <Keywords name="Keywords1">alias on menu if elseif else while continue break goto halt haltdef return</Keywords>
  37.             <Keywords name="Keywords2">abook ajinvite aline ame amsg anick aop auser autojoin avoice away background ban bcopy beep bindip bread breplace bset btrunc bunset bwrite channel clear clearall cline clipboard close cnick color comclose comlist comopen comreg copy creg ctcp ctcpreply ctcps dcc dccserver dde ddeserver debug dec describe dialog did didtok disable disconnect dlevel dline dll dns dqwindow drawcopy drawdot drawfill drawline drawpic drawrect drawreplace drawrot drawsave drawscroll drawsize drawtext ebeeps echo editbox emailaddr enable events exit fclose filter findtext firewall flash flist flood flush flushini font fopen fseek fserve fullname fwrite ghide gload gmove gopts gplay gpoint gshow gsize gstop gtalk gunload guser hadd hdec hdel help hfree hinc hload hmake hop hsave ial ialclear ialmark identd ignore iline inc invite iuser join kick linesep links list load loadbuf localinfo log logview mdi me menubar mkdir mnick mode msg nick nickserv noop notice notify omsg onotice parseline part partall pdcc perform play playctrl pop protect proxy pvoice qme qmsg query queryrn quite quote raw reload remini remote remove rename renwin reseterror resetidle rlevel rline rmdir run ruser save savebuf saveini say scid scon server set showmirc signal sline sockaccept sockclose socklist socklisten sockmark sockopen sockpause sockread sockrename sockupd sockwrite sound speak splay sreq strip switchbar timestamp tip tips titlebar tnick tokenize toolbar topic tray treebar ulist unload unset unsetall updatenl url uwho var vcadd vcmd vcrem vol whois window winhelp write writeini</Keywords>
  38.             <Keywords name="Keywords3">$</Keywords>
  39.             <Keywords name="Keywords4">% &amp;</Keywords>
  40.             <Keywords name="Keywords5">@</Keywords>
  41.             <Keywords name="Keywords6">timer</Keywords>
  42.             <Keywords name="Keywords7"></Keywords>
  43.             <Keywords name="Keywords8"></Keywords>
  44.             <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>
  45.         </KeywordLists>
  46.         <Styles>
  47.             <WordsStyle name="DEFAULT" fgColor="" bgColor="" fontName="" fontStyle="0" nesting="0" />
  48.             <WordsStyle name="COMMENTS" fgColor="" bgColor="" fontName="" fontStyle="0" nesting="0" />
  49.             <WordsStyle name="LINE COMMENTS" fgColor="" bgColor="" fontName="" fontStyle="0" nesting="0" />
  50.             <WordsStyle name="NUMBERS" fgColor="" bgColor="" fontName="" fontStyle="0" nesting="0" />
  51.             <WordsStyle name="KEYWORDS1" fgColor="" bgColor="" fontName="" fontStyle="0" nesting="0" />
  52.             <WordsStyle name="KEYWORDS2" fgColor="" bgColor="" fontName="" fontStyle="0" nesting="0" />
  53.             <WordsStyle name="KEYWORDS3" fgColor="" bgColor="" fontName="" fontStyle="0" nesting="0" />
  54.             <WordsStyle name="KEYWORDS4" fgColor="" bgColor="" fontName="" fontStyle="0" nesting="0" />
  55.             <WordsStyle name="KEYWORDS5" fgColor="" bgColor="" fontName="" fontStyle="0" nesting="0" />
  56.             <WordsStyle name="KEYWORDS6" fgColor="" bgColor="" fontName="" fontStyle="0" nesting="0" />
  57.             <WordsStyle name="KEYWORDS7" fgColor="" bgColor="" fontName="" fontStyle="0" nesting="0" />
  58.             <WordsStyle name="KEYWORDS8" fgColor="" bgColor="" fontName="" fontStyle="0" nesting="0" />
  59.             <WordsStyle name="OPERATORS" fgColor="" bgColor="" fontName="" fontStyle="0" nesting="0" />
  60.             <WordsStyle name="FOLDER IN CODE1" fgColor="" bgColor="" fontName="" fontStyle="0" nesting="0" />
  61.             <WordsStyle name="FOLDER IN CODE2" fgColor="" bgColor="" fontName="" fontStyle="0" nesting="0" />
  62.             <WordsStyle name="FOLDER IN COMMENT" fgColor="" bgColor="" fontName="" fontStyle="0" nesting="0" />
  63.             <WordsStyle name="DELIMITERS1" fgColor="" bgColor="" fontName="" fontStyle="0" nesting="0" />
  64.             <WordsStyle name="DELIMITERS2" fgColor="" bgColor="" fontName="" fontStyle="0" nesting="0" />
  65.             <WordsStyle name="DELIMITERS3" fgColor="" bgColor="" fontName="" fontStyle="0" nesting="0" />
  66.             <WordsStyle name="DELIMITERS4" fgColor="" bgColor="" fontName="" fontStyle="0" nesting="0" />
  67.             <WordsStyle name="DELIMITERS5" fgColor="" bgColor="" fontName="" fontStyle="0" nesting="0" />
  68.             <WordsStyle name="DELIMITERS6" fgColor="" bgColor="" fontName="" fontStyle="0" nesting="0" />
  69.             <WordsStyle name="DELIMITERS7" fgColor="" bgColor="" fontName="" fontStyle="0" nesting="0" />
  70.             <WordsStyle name="DELIMITERS8" fgColor="" bgColor="" fontName="" fontStyle="0" nesting="0" />
  71.         </Styles>
  72.     </UserLang>
  73. </NotepadPlus>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement