Skip to content

Instantly share code, notes, and snippets.

@nairdan2
Created February 13, 2015 23:00
Show Gist options
  • Save nairdan2/b164c8e63c5823c86414 to your computer and use it in GitHub Desktop.
Save nairdan2/b164c8e63c5823c86414 to your computer and use it in GitHub Desktop.
V-GUI Steam UDL 2.1 Language
<NotepadPlus>
<UserLang name="V-GUI Steam" ext="layout styles res" udlVersion="2.1">
<Settings>
<Global caseIgnored="no" allowFoldOfComments="no" foldCompact="no" forcePureLC="0" decimalSeparator="2" />
<Prefix Keywords1="no" Keywords2="no" 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"></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">colors</Keywords>
<Keywords name="Keywords2">styles place controls region</Keywords>
<Keywords name="Keywords3">control render render_bg fill gradient image image_tiled image_scale dashedrect image_proportional</Keywords>
<Keywords name="Keywords4">textcolor font-family selected hover disabled width height align margin spacing padding image font inset bgcolor Hover ControlName labelText style textAlignment zpos URLText fieldName command end dir start maxchars hintText group tabposition URLtext tooltiptext visible FrameFocus framefocus active corner_rounding</Keywords>
<Keywords name="Keywords5">y x</Keywords>
<Keywords name="Keywords6"></Keywords>
<Keywords name="Keywords7"></Keywords>
<Keywords name="Keywords8"></Keywords>
<Keywords name="Delimiters">00[ 01 02] 03&quot; 04 05&quot; 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="E5E5E5" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="COMMENTS" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="LINE COMMENTS" fgColor="3C7A0E" bgColor="E5E5E5" fontName="" fontStyle="3" nesting="0" />
<WordsStyle name="NUMBERS" fgColor="16B000" bgColor="E5E5E5" fontName="" fontStyle="4" nesting="0" />
<WordsStyle name="KEYWORDS1" fgColor="FF0000" bgColor="E5E5E5" fontName="" fontStyle="2" nesting="0" />
<WordsStyle name="KEYWORDS2" fgColor="29930B" bgColor="E5E5E5" fontName="" fontStyle="2" nesting="0" />
<WordsStyle name="KEYWORDS3" fgColor="7600E1" bgColor="E5E5E5" fontName="" fontStyle="2" nesting="0" />
<WordsStyle name="KEYWORDS4" fgColor="000000" bgColor="E5E5E5" fontName="Courier New" fontStyle="5" nesting="0" />
<WordsStyle name="KEYWORDS5" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="5" nesting="0" />
<WordsStyle name="KEYWORDS6" fgColor="008000" 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="FF0000" bgColor="E5E5E5" fontName="" fontStyle="1" nesting="0" />
<WordsStyle name="FOLDER IN CODE1" fgColor="FF80FF" bgColor="00FF40" 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="E5E5E5" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="DELIMITERS1" fgColor="FF0000" bgColor="E5E5E5" fontName="" fontStyle="1" nesting="0" />
<WordsStyle name="DELIMITERS2" fgColor="000000" bgColor="E5E5E5" fontName="" fontStyle="2" nesting="16789508" />
<WordsStyle name="DELIMITERS3" fgColor="000000" bgColor="E5E5E5" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="DELIMITERS4" fgColor="000000" bgColor="E5E5E5" fontName="" fontStyle="0" nesting="117702655" />
<WordsStyle name="DELIMITERS5" fgColor="00FF40" 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>
@Efreak
Copy link

Efreak commented Sep 17, 2015

  1. You should change the brackets from delimiters to folders so that code folding works properly.

    18-23:

    <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>

    35:

    <Keywords name="Delimiters">00[ 01 02] 03&quot; 04 05&quot; 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23</Keywords>
  2. I use Solarized, and it's rather difficult to look at code in this style, so I've created a fork here that's easier to use with a dark theme in notepad++. I don't edit these files enough to care much about theme, though, so all I changed was the luminance (and code folding)--don't expect it to match the solarized theme (or any other).

@BlagoYar
Copy link

How to add UDL for Sublime Text 3 (if you know)?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment