Skip to content

Commit

Permalink
User Defined Language for Notepad++
Browse files Browse the repository at this point in the history
  • Loading branch information
peterekepeter committed Apr 29, 2024
1 parent 07b3f26 commit 9d55724
Show file tree
Hide file tree
Showing 3 changed files with 73 additions and 0 deletions.
64 changes: 64 additions & 0 deletions ReleaseFiles/MVE2h/Help/Map Vote Extended Notepad++.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
<NotepadPlus>
<UserLang name="INI UT99 MVE" ext="ini" udlVersion="2.1">
<Settings>
<Global caseIgnored="no" allowFoldOfComments="no" foldCompact="no" forcePureLC="0" decimalSeparator="0" />
<Prefix Keywords1="no" Keywords2="no" Keywords3="yes" Keywords4="no" 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">True&#x000D;&#x000A;False</Keywords>
<Keywords name="Keywords2">PID_Default&#x000D;&#x000A;PID_NexGen&#x000D;&#x000A;ClientPackage&#x000D;&#x000A;ClientScreenshotPackage&#x000D;&#x000A;ClientLogoTexture&#x000D;&#x000A;ServerInfoURL&#x000D;&#x000A;MapInfoURL&#x000D;&#x000A;HTTPMapListLocation&#x000D;&#x000A;VoteTimeLimit&#x000D;&#x000A;HTTPMapListPort&#x000D;&#x000A;bSwitchToRandomMapOnIdle&#x000D;&#x000A;bSwitchToDefaultMapOnIdle&#x000D;&#x000A;ServerIdleAfterMinutes&#x000D;&#x000A;DefaultMap&#x000D;&#x000A;DefaultGameTypeIdx&#x000D;&#x000A;ServerCodeName&#x000D;&#x000A;MidGameVotePercent&#x000D;&#x000A;KickPercent&#x000D;&#x000A;MapCostAddPerLoad&#x000D;&#x000A;MapCostMaxAllow&#x000D;&#x000A;PlayerIDType&#x000D;&#x000A;bSaveConfigOnNextRun&#x000D;&#x000A;bReloadOnNextRun&#x000D;&#x000A;bReloadOnEveryRun&#x000D;&#x000A;bFullscanOnNextRun&#x000D;&#x000A;bShutdownServerOnTravel&#x000D;&#x000A;bWelcomeWindow&#x000D;&#x000A;bSpecsAllowed&#x000D;&#x000A;bAutoOpen&#x000D;&#x000A;ScoreBoardDelay&#x000D;&#x000A;bKickVote&#x000D;&#x000A;bSortAndDeduplicateMaps&#x000D;&#x000A;bEnableHTTPMapList&#x000D;&#x000A;bEnableMapOverrides&#x000D;&#x000A;bEnableMapTags&#x000D;&#x000A;bAutoSetGameName&#x000D;&#x000A;bFixMutatorsQueryLagSpikes&#x000D;&#x000A;bOverrideServerPackages&#x000D;&#x000A;bResetServerPackages&#x000D;&#x000A;MainServerPackages&#x000D;&#x000A;DefaultSettings&#x000D;&#x000A;DefaultTickRate&#x000D;&#x000A;CustomGame&#x000D;&#x000A;Aliases&#x000D;&#x000A;MapFilters&#x000D;&#x000A;ExcludeFilters&#x000D;&#x000A;MapTagsVersion&#x000D;&#x000A;MapTags&#x000D;&#x000A;MapOverridesVersion&#x000D;&#x000A;MapOverrides</Keywords>
<Keywords name="Keywords3">premade</Keywords>
<Keywords name="Keywords4">bEnabled&#x000D;&#x000A;GameName&#x000D;&#x000A;RuleName&#x000D;&#x000A;GameClass&#x000D;&#x000A;FilterCode&#x000D;&#x000A;bHasRandom&#x000D;&#x000A;VotePriority&#x000D;&#x000A;MutatorList&#x000D;&#x000A;Settings&#x000D;&#x000A;Packages&#x000D;&#x000A;TickRate&#x000D;&#x000A;ServerActors&#x000D;&#x000A;Extends</Keywords>
<Keywords name="Keywords5"></Keywords>
<Keywords name="Keywords6"></Keywords>
<Keywords name="Keywords7"></Keywords>
<Keywords name="Keywords8"></Keywords>
<Keywords name="Delimiters">00= 01 02((EOL)) 03( 04 05) 06&quot; 07\ 08&quot; 09( 10 11) 12[ 13 14] 15 16 17 18[ 19 20] 21 22 23</Keywords>
</KeywordLists>
<Styles>
<WordsStyle name="DEFAULT" fgColor="FFFFFF" bgColor="000000" fontStyle="0" nesting="0" />
<WordsStyle name="COMMENTS" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" />
<WordsStyle name="LINE COMMENTS" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" />
<WordsStyle name="NUMBERS" fgColor="F4FF2F" bgColor="FFFFFF" colorStyle="1" fontStyle="1" nesting="0" />
<WordsStyle name="KEYWORDS1" fgColor="FF518D" bgColor="FF0000" colorStyle="1" fontStyle="1" nesting="0" />
<WordsStyle name="KEYWORDS2" fgColor="989EAF" bgColor="FFFFFF" colorStyle="1" fontStyle="0" nesting="0" />
<WordsStyle name="KEYWORDS3" fgColor="FF71B8" bgColor="FFFFFF" colorStyle="1" fontStyle="0" nesting="0" />
<WordsStyle name="KEYWORDS4" fgColor="98B1D1" bgColor="FFFFFF" colorStyle="1" fontStyle="0" nesting="0" />
<WordsStyle name="KEYWORDS5" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" />
<WordsStyle name="KEYWORDS6" fgColor="000000" bgColor="FFFFFF" fontStyle="0" 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="FF8000" bgColor="000000" colorStyle="1" fontStyle="0" 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="B0DE5C" bgColor="FFFFFF" colorStyle="1" fontStyle="0" nesting="83891202" />
<WordsStyle name="DELIMITERS2" fgColor="D6D6D6" bgColor="FFFFFF" colorStyle="1" fontStyle="1" nesting="83895308" />
<WordsStyle name="DELIMITERS3" fgColor="5BDBB5" bgColor="FFFFFF" colorStyle="1" fontStyle="1" nesting="16777216" />
<WordsStyle name="DELIMITERS4" fgColor="DAE31C" bgColor="FFFFFF" colorStyle="1" fontStyle="1" nesting="83886084" />
<WordsStyle name="DELIMITERS5" fgColor="FD7E00" bgColor="FFFFFF" colorStyle="1" fontStyle="1" nesting="67108928" />
<WordsStyle name="DELIMITERS6" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" />
<WordsStyle name="DELIMITERS7" fgColor="D20064" bgColor="FFFFFF" colorStyle="1" fontStyle="1" nesting="67108864" />
<WordsStyle name="DELIMITERS8" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" />
</Styles>
</UserLang>
</NotepadPlus>
9 changes: 9 additions & 0 deletions ReleaseFiles/MVE2h/Help/Map Vote Extended.txt
Original file line number Diff line number Diff line change
Expand Up @@ -121,4 +121,13 @@ set things back to good defaults. If you already have a configuration file
make sure you don't override it when installing updates. It's also a good
practice to keep backups of this file or to put it under version control.


- If you use Notepad++ to edit your configuration files then we have a
user defined language configuration for MVE_Config.ini which has better
delimitation of key-values, brackets and parenthesis and it also identifies
known mapvote configuration properties. To install it, go to the menu
Language > User Defined Language > Define your language... and then
import `Map Vote Extended Notepad++.xml`


Good luck!
Binary file added docs/config-notepad-plus-plus.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 9d55724

Please sign in to comment.