Author Topic: Notepad++ MCS Language Support  (Read 584 times)

pncdaspropagandas

  • Active Member
  • ***
  • Posts: 33
    • View Profile
Notepad++ MCS Language Support
« on: January 29, 2017, 03:59:48 »
Hi,

I compiled the reserved words, function names etc and created a file to import to Notepad++ and have colored text to help coding.

I want to say thanks to Mathias for the lovely file manager.

Save the following code to a xml file and import in Notepad++

<NotepadPlus>
    <UserLang name="MultiCommander" ext="mcs" udlVersion="2.1">
        <Settings>
            <Global caseIgnored="no" allowFoldOfComments="no" foldCompact="no" forcePureLC="2" decimalSeparator="0" />
            <Prefix Keywords1="no" Keywords2="no" Keywords3="no" Keywords4="no" Keywords5="no" Keywords6="no" Keywords7="yes" Keywords8="yes" />
        </Settings>
        <KeywordLists>
            <Keywords name="Comments">00# 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">^ + - * / = == ! != &lt; &gt; ( ) { } .</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">array initializationarrayCountarrayAddarrayRemovearrayFindarrayIFindArraySortStrLines2ArrayStrLinesArray2StringStrTokenize2ArrayStrLenStrSubStrFindStrRFindStrReplaceStrToUpperStrToLowerStrTrimStrTrimLeftStrTrimRightStrSplitStrCompareNoCaseoperator ==StrIsEqualStrIsEqualNoCaseStrIsWildMatchStrIsWildMatchNoCaseStrIsRegExpMatchStrIsRegExpMatchNoCaseStrRegExpFindRowListLoadRowListCloseRowListCountRowListColumnCountRowListArrayRowListItemReplaceTagsInStringGetTimeFormatDateFormatTimeTimeLocal2UTCTimeUTC2LocalParseDateTimeGetFileTimeSetFileTimeIsFolderFileExistsGetFileSizeGetFilePropFindFirstFileFindFilesGetFileAttributesAddFileAttributesRemoveFileAttributesSetFileAttributesHasFileAttributesCopyFileMoveFileRenameFileUnpackFilePackFileDeleteFileDeleteFilesMakeDirFilterCreateFilterAddRuleFilterLoadFilterLoadByIdFilterSaveFilterIsMatchPathGetPathPartPathGetNamePartPathGetFileExtPartPathGetPartsPathMakeRelativeMCPathMakeAbsoluteMCPathTranslatePathNetWGetRegKeyExistsRegKeyAddRegKeyDelRegKeyFindRegKeyFindRegExpRegValueExistsRegValueAddRegValueDelRegValueFindRegValueFindRegExpRegValueGetSZRegValueGetDWORDGetSelectedFileNamesGetSelectedPathsGetSourceSelectedFileNamesGetTargetSelectedFileNamesGetSourceSelectedPathsGetTargetSelectedPathsGetSourcePathGetTargetPathGetSourceFocusPathGetTargetFocusPathGetSourceFocusNameGetTargetFocusNameGetSourceItemsGetTargetItemsSetSourceSelectedSetTargetSelectedSleepLogLogDumpLogDumpArrayLogAppInfoMessageBoxAskTextAskOptionSaveArrayLoadArraySaveStringToFileLoadStringFromFileGetClipboardTextSetClipboardTextGetTagValueTranslateEnvStringFTPConnectFTPChdirFTPMkdirFTPRmdirFTPRemoveFTPRenameFTPListFTPListCountFTPListGetFTPExistsFTPPutFileFTPGetFileFTPCommandRawFTPQuitChkSum_Calculate</Keywords>
            <Keywords name="Keywords2">@varnew</Keywords>
            <Keywords name="Keywords3">importifelseforwhilebreakcontinuereturnfunctionclass</Keywords>
            <Keywords name="Keywords4">${date:${time:${param:${focusfilepath}${targetpath}${sourcepath}${targetdevice}${sourcedevice}${sourcefocuspath}${targetfocuspath}${sourcefocusname}${targetfocusname}${leftpath}${leftfocuspath}${leftfocusname}${rightpath}${rightfocuspath}${rightfocusname}${mcinstallpath}${mcappdatapath}${mclogpath}${mcconfigpath}${mcuserappdata}</Keywords>
            <Keywords name="Keywords5">SleepLogLogDumpLogDumpArrayLogAppInfoMessageBoxAskTextAskOptionSaveArrayLoadArraySaveStringToFileLoadStringFromFileGetClipboardTextSetClipboardTextGetTagValueTranslateEnvStringMC.RunMC.RunUserCmdMC.RunCmdMC.CmdLineSetMC.CmdLineRunMC.ViewMC.EditMC.SetActivePanelMC.SetActiveTabMC.CloseAllTabsMC.SaveTabsMC.LoadTabsMC.ChangeTabSessionMC.XChangeSettingsMC.BindKeyMC.UnBindKeyMC.ShowFavWindowMC.ShowFavPopupMC.ShellPasteMC.LoadButtonPanelLayoutMC.Filesystem.RenameMC.Filesystem.DeleteMC.Filesystem.MakedirMC.Filesystem.PackFilesMC.Filesystem.UnpackMC.Explorer.NewBrowserMC.Explorer.CloseAllMC.Explorer.GotoMC.Explorer.SelectMC.Explorer.DeselectMC.Explorer.RefreshMC.Explorer.RefreshTreeMC.Explorer.CopyMC.Explorer.DeleteMC.Explorer.MoveMC.Explorer.MakedirMC.Explorer.SetViewFilterMC.Explorer.GetViewFilterMC.Explorer.SetColumnsMC.Explorer.SetViewModeMC.Explorer.SetTabPropMC.Explorer.SortMC.Explorer.SizeFolderMC.Explorer.SetItemFocusMC.Explorer.SetColoringRulesMC.Explorer.RefreshColoringRulesMC.Explorer.ChangeSettingMC.Explorer.Selection.SelectMC.Explorer.Selection.UnselectMC.Explorer.Selection.SelectAllMC.Explorer.Selection.UnselectAllMC.Explorer.Selection.InvertSelectionMC.Explorer.Selection.SelectByColorMC.Explorer.Selection.UnselectByColorMC.Explorer.Selection.SaveSelectionToMemoryMC.Explorer.Selection.LoadSelectionFromMemoryMC.Explorer.Selection.SaveSelectionToFileMC.Explorer.Selection.LoadSelectionFromFileMC.Explorer.Selection.LoadSelectionFromClipboardMC.Explorer.Selection.CompareFoldersForDuplicatesMC.Explorer.Selection.CompareFoldersForSelectedMC.Explorer.Selection.CompareFoldersForMissingAndNewerMC.Explorer.Selection.CompareFoldersForMissingMC.Explorer.Selection.CompareFoldersForNewestMC.FileSearch.SearchMC.Special.SelectOldestByNameMC.Utils.CreateLinkMC.Utils.SortLinesMC.Utils.FindAndReplaceMC.CheckSum.VerifyMC.CheckSum.CreateMC.DataViewer.ViewMC.PictureTools.ConvertMC.PictureTools.Resize</Keywords>
            <Keywords name="Keywords6">ADDADMINALLALLSELECTEDARGASADMINASCIIASKNAMEASYNCATTRIBUTEAUTOAUTORELOADAUTOSTARTBGCOLORBINARYCHECKSUMCMDCOLCOLNAMECOLORCONTENTCURRENTDATEFORMATDELETEDONOTASKEDITASENCODINGENDATWHITESPACEENDCHAREXCLUDEFILEFILENAMEFILESFILTERFILTERIDFINDFLATFOCUSFOLDERNAMEFOLDERSFONTFONTSIZEFORCEREBUILDFORCEUPDATEFORCEUTF8FORMATFORMAT_1GOTOHEIGHTHEXHIDEHIGHLIGHTIDIGNORECASEITEMITEMSEPJPGQUALITYKEEPBACKUPKEEPBOTTOMKEEPLOCKEDKEEPTOPKEYLANGUAGEORDERLEFTLEFTONLYLINEOFFSETLNKSRCLNKTRGLNKTYPEMETHODMODENATRUALNUMORDERNEWNAMENEWQUEUENODIALOGNOTTHEREONLYFILESONLYFOCUSONLYFOLDERSORDEROVERWRITEPANELPASSWORDPATHPOSREDRAWUIREPLACEREPLACEALLREPLACEWITHRESETREVERSERIGHTRIGHTONLYRULESAVEASSEARCHFORSEARCHFOR_REGEXPSEARCHINSECTIONSELECTEDSEPARATESETFOCUSSHELLSHOWPATHSIDESILENTSIZESKIPLEADINGSPACESORTASSORTBYSOURCESTARTINSUBLEVELSSUBSTRLENTABTABCOLORSTABLOCKTABLOCKALLOWSUBCHANGETABNAMETARGETTEXTTIMETIMEFROMTIMETOTOGGLEUNICODEUPDATEUICACHEUSEEXISTINGQUEUEVALUEVIEWASWAITWIDTHWILDCARDWORDS</Keywords>
            <Keywords name="Keywords7">$$</Keywords>
            <Keywords name="Keywords8">$</Keywords>
            <Keywords name="Delimiters">00&apos; 01 02&apos; 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="FFFFFF" fontName="" fontStyle="0" nesting="0" />
            <WordsStyle name="COMMENTS" fgColor="808080" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
            <WordsStyle name="LINE COMMENTS" fgColor="808080" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
            <WordsStyle name="NUMBERS" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
            <WordsStyle name="KEYWORDS1" fgColor="65CA00" bgColor="FFFFFF" fontName="" fontStyle="1" nesting="0" />
            <WordsStyle name="KEYWORDS2" fgColor="8000FF" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
            <WordsStyle name="KEYWORDS3" fgColor="0000FF" bgColor="FFFFFF" fontName="" fontStyle="1" nesting="0" />
            <WordsStyle name="KEYWORDS4" fgColor="008000" bgColor="FFFFFF" fontName="" fontStyle="1" nesting="0" />
            <WordsStyle name="KEYWORDS5" fgColor="808000" bgColor="FFFFFF" fontName="" fontStyle="1" nesting="0" />
            <WordsStyle name="KEYWORDS6" fgColor="808040" bgColor="FFFFFF" fontName="" fontStyle="1" nesting="0" />
            <WordsStyle name="KEYWORDS7" fgColor="000000" bgColor="FF0000" fontName="" fontStyle="4" nesting="0" />
            <WordsStyle name="KEYWORDS8" fgColor="FF8000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
            <WordsStyle name="OPERATORS" fgColor="FF0080" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
            <WordsStyle name="FOLDER IN CODE1" fgColor="000000" 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="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
            <WordsStyle name="DELIMITERS2" fgColor="000000" 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="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>

mgoodwin

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: Notepad++ MCS Language Support
« Reply #1 on: March 15, 2017, 08:47:34 »
Hello,

thanks for your work. Maybe I'm mistaken, but shouldn't there be blanks between the keywords?

Regards