It is currently October 24th, 2018, 1:58 am

RainLexer 2.0.10 (syntax highlighter for Notepad++)

Share your custom plugins and applications to enhance Rainmeter.
User avatar
jsmorley
Developer
Posts: 18161
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

RainLexer 2.0.10 (syntax highlighter for Notepad++)

jsmorley » July 15th, 2018, 3:43 pm

Updated to version 2.0.10 to include DragGroup and SelectedColor as keywords.

Download in first post of this thread.
SparkShredder
Posts: 24
Joined: November 17th, 2017, 12:00 pm

Re: RainLexer 2.0.10 (syntax highlighter for Notepad++)

SparkShredder » October 10th, 2018, 10:29 am

Code: Select all

<NotepadPlus>
    <UserLang name="Rainmeter uDL" ext="ini inc" udlVersion="2.1">
        <Settings>
            <Global caseIgnored="yes" allowFoldOfComments="yes" foldCompact="no" forcePureLC="1" decimalSeparator="0" />
            <Prefix Keywords1="no" Keywords2="yes" Keywords3="no" Keywords4="no" Keywords5="no" Keywords6="no" Keywords7="no" Keywords8="no" />
        </Settings>
        <KeywordLists>
            <Keywords name="Comments">00; 01 02((EOL)) 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">[Weapon1]</Keywords>
            <Keywords name="Folders in code2, middle">[Weapon1a]</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">AccurateText Active AddDaysToHours AlphaValue AlwaysOnTop AnchorX AnchorY Angle AntiAlias Author AutoScale AutoSelectScreen AverageSize Background BackgroundMargins BackgroundMode BandIdx Bands BarBorder BarColor BarImage BarOrientation BevelType BitmapAlign BitmapDigits BitmapExtend BitmapFrames BitmapImage BitmapSeparation BitmapTransitionFrames BitmapZeroFrame Blur BothColor BothImage BothImageCrop BothImageFlip BothImageImageAlpha BothImagePath BothImageRotate BothImageTint ButtonCommand ButtonImage Channel ClickThrough ClipString ClipStringH ClipStringW CodePage ConfigEditor ContextAction ContextAction10 ContextAction11 ContextAction12 ContextAction13 ContextAction14 ContextAction15 ContextAction2 ContextAction3 ContextAction4 ContextAction5 ContextAction6 ContextAction7 ContextAction8 ContextAction9 ContextTitle ContextTitle10 ContextTitle11 ContextTitle12 ContextTitle13 ContextTitle14 ContextTitle15 ContextTitle2 ContextTitle3 ContextTitle4 ContextTitle5 ContextTitle6 ContextTitle7 ContextTitle8 ContextTitle9 ControlAngle ControlLength ControlStart CoreTempIndex CoreTempType Count CPUExclude CPUInclude Cumulative DateType DaylightSavingTime Debug Debug2FileDownload DecodeCharacterReference DefaultArtwork DefaultUpdateDivider DefaultValue DesktopWorkArea DesktopWorkAreaType DestAddress Disabled DisableDragging DisableLeadingZero DisableVersionCheck DiskQuota DownloadFile Draggable DragMargins Drive DynamicVariables DynamicWindowSize ErrorString Extensions FadeDuration FFTAttack FFTDecay FFTIdx FFTOverlap FFTSize FileFilter FinishAction Flip FocusDismiss Folder FontColor FontEffectColor FontFace FontSize ForceReload Format Formula FreqMax FreqMin GradientAngle GraphOrientation GraphStart Greyscale Group H Hidden HideExtensions HideOnMouseOver HighBound HorizontalLineColor HorizontalLines IconPath IconSize ID IfAboveAction IfAboveValue IfBelowAction IfBelowValue IfConditionMode IfEqualAction IfEqualValue IfMatchMode IgnoreCount IgnoreRemovable ImageAlpha ImageCrop ImageFlip ImageName ImagePath ImageRotate ImageTint IncludeHiddenFiles IncludeSubFolders IncludeSystemFiles Index Information InfoType Interface InvertMeasure KeepOnScreen Label LeftMouseDoubleClickAction LeftMouseDownAction LeftMouseUpAction LengthShift License LineCount LineLength LineStart LineWidth LoadOrder Logging LowBound MaskImageFlip MaskImageName MaskImagePath MaskImageRotate MaxValue Measure MeasureName Meter MeterStyle MiddleMouseDoubleClickAction MiddleMouseDownAction MiddleMouseUpAction MinValue MouseActionCursorName MouseLeaveAction MouseOverAction MouseScrollDownAction MouseScrollLeftAction MouseScrollRightAction MouseScrollUpAction Name NumOfDecimals OffsetX OffsetY OnChangeAction OnCloseAction OnDismissAction OnFocusAction OnRefreshAction OnUnfocusAction OnUpdateAction OnWakeAction Padding Parent Password Path PathName Paused PeakAttack PeakDecay PeakGain Percentual PerfMonCounter PerfMonDifference PerfMonInstance PerfMonObject PlayerName PlayerPath PlayerType Plugin Port Postfix PowerState Prefix PreserveAspectRatio PrimaryColor PrimaryImage PrimaryImageAlpha PrimaryImageCrop PrimaryImageFlip PrimaryImagePath PrimaryImageRotate PrimaryImageTint ProcessName Processor ProxyServer Recursive RecycleType RegExp RegExpFilter RegExpSubstitute RegHKey RegKey RegValue ResCountType RightMouseDoubleClickAction RightMouseDownAction RightMouseUpAction RMSAttack RMSDecay RMSGain RotationAngle SavePosition ScaleMargins ScriptFile SecondaryColor SecondaryImage SecondaryImageAlpha SecondaryImageCrop SecondaryImageFlip SecondaryImagePath SecondaryImageRotate SecondaryImageTint Sensitivity Separator ShowDotDot ShowFile ShowFolder ShowHidden ShowSystem SkinPath SnapEdges Solid SolidColor SolidColor2 SortAscending SortDateType SortType SpeedFanNumber SpeedFanScale SpeedFanType StartAngle StartHidden StartShift StringAlign StringCase StringEffect StringIndex StringIndex2 StringStyle Subfolders Substitute SysInfoData SysInfoType Text Tile Timeout TimeoutValue TimeStamp TimeZone ToolTipHidden ToolTipIcon ToolTipText ToolTipTitle ToolTipType ToolTipWidth TopMost TopProcess Total TrackChangeAction TransformationMatrix TransitionUpdate TrayBitmap TrayColor1 TrayColor2 TrayExecuteDM TrayExecuteDR TrayExecuteM TrayExecuteR TrayIcon TrayMeter Type UniqueRandom Update UpdateDivider UpdateRandom UpdateRate URL UseD2D UseExifOrientation ValueRemainder VDDesktop VDDesktopCount VDHeight VDManager VDMeasureType VDOnActivate VDOnChange VDOnDeactivate VDOutputFile VDRefreshOnUpdate VDWidth Version W WiFiInfoType WiFiIntfID WiFiListLimit WiFiListStyle WildcardSearch WindowClass WindowMessage WindowName WindowX WindowY X X1MouseDoubleClickAction X1MouseDownAction X1MouseUpAction X2MouseDoubleClickAction X2MouseDownAction X2MouseUpAction Y</Keywords>
            <Keywords name="Keywords2">BlurRegion BothImageColorMatrix ColorMatrix Command IfCondition IfFalseAction IfMatch IfMatchAction IfNotMatchAction IfTrueAction Include LineColor PrimaryColorMatrix Scale SecondaryColorMatrix</Keywords>
            <Keywords name="Keywords3">Accessed ACLine ADAPTER_DESCRIPTION AdvancedCPU AIMP Album Artist AudioLevel AUTH Avg Band BandFreq Bar Bitmap BL Bold BoldItalic Border Both BR BusMultiplier BusSpeed Button C CAD Calc Center CenterBottom CenterCenter CenterTop COMPUTER_NAME CoreTemp Cover CPU CpuName CpuSpeed Created CurrentDesktop Date DesktopCount DesktopName DesktopWallpaper DeviceID DeviceList DeviceName DeviceStatus Dexpot DNS_SERVER DOMAIN_NAME Duration Encryption Error ExtraLarge F Fan FFT FFTFreq File FileCount FileDate FileName FilePath FileSize FileType FileView FL FolderCount FolderInfo FolderPath FolderSize FR FreeDiskSpace GATEWAY_ADDRESS GDI GetCurrentTrackAlbum GetCurrentTrackArtist GetCurrentTrackArtwork GetCurrentTrackBitrate GetCurrentTrackBPM GetCurrentTrackComment GetCurrentTrackComposer GetCurrentTrackEQ GetCurrentTrackGenre GetCurrentTrackKindAsString GetCurrentTrackName GetCurrentTrackRating GetCurrentTrackSampleRate GetCurrentTrackSize GetCurrentTrackTime GetCurrentTrackTrackCount GetCurrentTrackTrackNumber GetCurrentTrackYear GetPlayerPosition GetPlayerPositionPercent GetSoundVolume Handle Histogram HKEY_CLASSES_ROOT HKEY_CURRENT_CONFIG HKEY_CURRENT_USER HKEY_DYN_DATA HKEY_LOCAL_MACHINE HKEY_PERFORMANCE_DATA Horizontal HOST_NAME Hz Icon IDLE_TIME Image Info Input InputText INTERNET_CONNECTIVITY IP_ADDRESS Italic iTunes iTunesPlugin K L LAN_CONNECTIVITY Large Left LeftBottom LeftCenter LeftTop LFE Lifetime Line List Load Lower MaxTemperature MediaKey MediaMonkey Medium Memory MHz Modified NetIn NetOut NetTotal NET_MASK None Normal NowPlaying Number NUM_MONITORS OS_BITS OS_VERSION Output Peak Percent PerfMon PHY PhysicalMemory PingPlugin Position PowerPlugin Process Progress Proper Quality Question QuotePlugin R Rating RecycleManager Registry Repeat ResMon Right RightBottom RightCenter RightTop RMS Rotator Roundline Screenshot SCREEN_HEIGHT SCREEN_SIZE SCREEN_WIDTH Script Shadow Shield Shuffle Size SL Small SpeedFanPlugin Spotify SR SSID State Status Status2 String Sub Sum SwapMemory SwitchDesktop SysInfo Temperature Time Title TjMax Upper Uptime USER USER_NAME VDMActive Vertical Vid VirtualDesktops VIRTUAL_SCREEN_HEIGHT VIRTUAL_SCREEN_LEFT VIRTUAL_SCREEN_TOP VIRTUAL_SCREEN_WIDTH VirtuaWin Voltage Volume Warning WebParser WiFiStatus Win7AudioPlugin Winamp Window WindowMessagePlugin WLM WMP WORK_AREA WORK_AREA_HEIGHT WORK_AREA_LEFT WORK_AREA_TOP WORK_AREA_WIDTH Year</Keywords>
            <Keywords name="Keywords4">!02i! !i! $UserInput$ 802.11a 802.11b 802.11g 802.11n ??? Abs Acos AES All and Asin Atan Backtrack Busy Ceil ChangeVolume Clamp ClosePlayer ContextMenu Cos Counter Cross d Debug DSSS E EmptyBin EmptyBinSilent EncodeURL EscapeRegExp ExecuteBatch Exp FastForward FHSSS Fill Fit Floor FollowPath Frac Hand Help Idle IndexDown IndexUp IR-Band Ln Log Max Metadata Min Next NextTrack NONE Notice Open OpenBin OpenPlayer PageDown PageUp Pause Pen PI Play PlayLoop PlayPause PlayStop Plugins Power prev Previous PreviousFolder PreviousTrack PrevTrack Properties Quit Rad Rainmeter Random Resume Rewind Round SendMessage SetOutputIndex SetPosition SetRating SetRepeat SetShuffle SetVolume Sgn Shared Sin Skins SoundVolumeDown SoundVolumeUp Sqrt Stop Stretch Tan Text Tile TKIP ToggleiTunes ToggleMute ToggleNext TogglePlayer TogglePrevious TrayMeasure Trunc Update V Variables Version VolumeDown VolumeMute VolumeUp WEP WEP104 WEP40 WPA-Enterprise WPA-NONE WPA-Personal WPA2-Enterprise WPA2-Personal WPA_GROUP</Keywords>
            <Keywords name="Keywords5">$MouseX$ $MouseX:%$ $MouseY$ $MouseY:%$ ADDONSPATH CRLF CURRENTCONFIG CURRENTCONFIGHEIGHT CURRENTCONFIGWIDTH CURRENTCONFIGX CURRENTCONFIGY CURRENTFILE CURRENTPATH CURRENTSECTION PLUGINSPATH PROGRAMDRIVE PROGRAMPATH PSCREENAREAHEIGHT PSCREENAREAWIDTH PSCREENAREAX PSCREENAREAY PWORKAREAHEIGHT PWORKAREAWIDTH PWORKAREAX PWORKAREAY ROOTCONFIG ROOTCONFIGPATH SCREENAREAHEIGHT SCREENAREAWIDTH SCREENAREAX SCREENAREAY SETTINGSPATH SKINSPATH VSCREENAREAHEIGHT VSCREENAREAWIDTH VSCREENAREAX VSCREENAREAY WORKAREAHEIGHT WORKAREAWIDTH WORKAREAX WORKAREAY</Keywords>
            <Keywords name="Keywords6">!About !ActivateConfig !AddBlur !ClickThrough !CommandMeasure !DeactivateConfig !DeactivateConfigGroup !DisableMeasure !DisableMeasureGroup !Draggable !DraggableGroup !EnableMeasure !EnableMeasureGroup !Hide !HideBlur !HideFade !HideFadeGroup !HideGroup !HideMeter !HideMeterGroup !KeepOnScreen !KeepOnScreenGroup !LoadLayout !Log !Manage !Move !MoveMeter !PauseMeasure !PauseMeasureGroup !Quit !Redraw !RedrawGroup !Refresh !RefreshApp !RefreshGroup !RemoveBlur !ResetStats !SetClip !SetOption !SetOptionGroup !SetTransparency !SetTransparencyGroup !SetVariable !SetVariableGroup !SetWallpaper !Show !ShowBlur !ShowFade !ShowFadeGroup !ShowGroup !ShowMeter !ShowMeterGroup !SkinCustomMenu !SkinMenu !SnapEdges !SnapEdgesGroup !Toggle !ToggleBlur !ToggleConfig !ToggleFade !ToggleFadeGroup !ToggleGroup !ToggleMeasure !ToggleMeasureGroup !ToggleMeter !ToggleMeterGroup !TogglePauseMeasure !TogglePauseMeasureGroup !TrayMenu !UnpauseMeasure !UnpauseMeasureGroup !Update !UpdateMeasure !UpdateMeasureGroup !UpdateMeter !UpdateMeterGroup !Updategroup !WriteKeyValue !ZPos !ZPosGroup</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="000000" bgColor="FFFFFF" colorStyle="0" fontName="" fontStyle="0" nesting="0" />
            <WordsStyle name="COMMENTS" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
            <WordsStyle name="LINE COMMENTS" fgColor="008000" bgColor="FFFFFF" fontName="" fontStyle="2" nesting="4096" />
            <WordsStyle name="NUMBERS" fgColor="000000" bgColor="FFFFFF" colorStyle="0" fontName="" fontStyle="0" nesting="0" />
            <WordsStyle name="KEYWORDS1" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="1" nesting="0" />
            <WordsStyle name="KEYWORDS2" fgColor="004080" bgColor="FFFFFF" fontName="" fontStyle="1" nesting="0" />
            <WordsStyle name="KEYWORDS3" fgColor="FF8000" bgColor="FFFFFF" fontName="" fontStyle="1" nesting="0" />
            <WordsStyle name="KEYWORDS4" fgColor="0080FF" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
            <WordsStyle name="KEYWORDS5" fgColor="804000" bgColor="FFFFFF" fontName="" fontStyle="1" nesting="0" />
            <WordsStyle name="KEYWORDS6" fgColor="FF0000" bgColor="FFFFFF" fontName="" fontStyle="1" 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="CC7A29" bgColor="FFFFFF" colorStyle="1" 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="0000FF" bgColor="FFFFFF" fontName="" fontStyle="1" nesting="16841735" />
            <WordsStyle name="DELIMITERS2" fgColor="800000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="16793600" />
            <WordsStyle name="DELIMITERS3" fgColor="800000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="16818183" />
            <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>

How can I add Folding to this XML style?