Jump to content

new TorqueScript Syntax - Solarized color- Notepad++


Recommended Posts

Posted

r13b-com.png


I want to share my new workspace. If you're like me (have a weak pc lol) and use the Windows Classic theme: this is the theme I use "https://github.com/tpenguinltg/windows-solarized"


In notepad ++ I use the solarize theme along with this syntax I created:

Save this script to an XML file named TorqueScript-syntax-solarized-color.

<NotepadPlus>
   <UserLang name="TorqueScript" ext="cs gui mis" udlVersion="2.1">
       <Settings>
           <Global caseIgnored="no" allowFoldOfComments="yes" foldCompact="no" forcePureLC="0" decimalSeparator="0" />
           <Prefix Keywords1="yes" Keywords2="yes" Keywords3="yes" Keywords4="yes" 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">op= </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">datablock function package new if else for while switch$ switch : case singleton default: %this true false --> return</Keywords>
           <Keywords name="Keywords2">SPC @ NL TAB</Keywords>
           <Keywords name="Keywords3">$</Keywords>
           <Keywords name="Keywords4">%</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="839496" bgColor="1E1E1E" fontName="" fontStyle="0" nesting="0" />
           <WordsStyle name="COMMENTS" fgColor="586E75" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
           <WordsStyle name="LINE COMMENTS" fgColor="586E75" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
           <WordsStyle name="NUMBERS" fgColor="B5CEA8" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
           <WordsStyle name="KEYWORDS1" fgColor="859900" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
           <WordsStyle name="KEYWORDS2" fgColor="DC322F" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
           <WordsStyle name="KEYWORDS3" fgColor="CB4B16" bgColor="1E1E1E" fontName="earchEditBox" fontStyle="1" nesting="0" />
           <WordsStyle name="KEYWORDS4" fgColor="B58900" bgColor="1E1E1E" fontName="ecent Pages" fontStyle="0" nesting="0" />
           <WordsStyle name="KEYWORDS5" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
           <WordsStyle name="KEYWORDS6" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
           <WordsStyle name="KEYWORDS7" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
           <WordsStyle name="KEYWORDS8" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
           <WordsStyle name="OPERATORS" fgColor="839496" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
           <WordsStyle name="FOLDER IN CODE1" fgColor="839496" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
           <WordsStyle name="FOLDER IN CODE2" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
           <WordsStyle name="FOLDER IN COMMENT" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
           <WordsStyle name="DELIMITERS1" fgColor="268BD2" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="1" />
           <WordsStyle name="DELIMITERS2" fgColor="268BD2" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
           <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="1" />
           <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>

 


To install, go to Language> User Defined Language> Defined your Language> Import: TorqueScript-syntax-solarized-color.xml


Obs:

When changing the theme of notepad ++ I recommend leaving it the same as mine:

www-r13b-com.png

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...