It is currently March 28th, 2024, 6:06 pm

RainLexer 2.20.0 (syntax highlighter for Notepad++)

Plugins and Addons popular with the Community
User avatar
jsmorley
Developer
Posts: 22628
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

RainLexer 2.0.10 (syntax highlighter for Notepad++)

Post by jsmorley »

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

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

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

Post by SparkShredder »

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?
User avatar
jsmorley
Developer
Posts: 22628
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

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

Post by jsmorley »

There has been a change to how plugins are handled in the latest 7.6 version of Notepad++.

This will cause RainLexer to stop working for you.

Do NOT upgrade to this version of Notepad++ until we figure this out and get things straightened out.

We should have this figured out shortly.

If you DO upgrade to 7.6 of Notepad++, you can get RainLexer working by:

Currently, with Notepad++ 7.5

The plugin file RainLexer.dll is in
C:\Program Files (x86)\Notepad++\plugins\RainLexer.dll

A supporting .xml file is in
C:\Users\YourName\AppData\Roaming\Notepad++\plugins\config\RainLexer.xml

With Notepad++ 7.6 you need to move RainLexer.dll to:

C:\Users\YourName\AppData\Local\Notepad++\plugins\RainLexer\RainLexer.dll

Note that it is "Local" and not "Roaming", and that the .dll goes in a subfolder with the same name as the .dll.

The .xml file can stay were it is...

Close and restart Notepad++, and it should work.
SCR
Posts: 60
Joined: April 15th, 2015, 11:13 pm

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

Post by SCR »

Good to know. Thank you for the information.
User avatar
jsmorley
Developer
Posts: 22628
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

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

Post by jsmorley »

I have updated RainLexer to support the new plugin locations in Notepad++ version 7.6.

Be sure to upgrade to version 7.6 of Notepad++ before installing the new version 2.1.0 of RainLexer.

If you do not wish to upgrade Notepad++, you will need to stay on an earlier version of RainLexer.

Notepad++ can be downloaded from https://notepad-plus-plus.org/download/v7.6.html

The latest 2.1.0 version of RainLexer can be downloaded from https://github.com/poiru/rainlexer/releases/download/v2.1.0/RainLexer-2.1.0.exe

More information in the first post of this thread.
User avatar
jsmorley
Developer
Posts: 22628
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

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

Post by jsmorley »

Note that some folks may run into issues with this upgrade. Here are some tips on how to get things working clean and smooth...

First, if you are installing Notepad++ for the first time, ignore this post.

If you have been running Notepad++ for some time, one of the things that can (and almost certainly will) happen is that there will be a lot of uneeded, and even harmful, "debris" hanging around from earlier versions. Over the years they have moved where things are stored and what files are used for "settings", and the old stuff is often left behind. This can cause massive problems going forward!

So here is the current layout of where things are with Notepad++ as of version 7.6

The application, 64bit or 32bit depending on what you installed:
C:\Program Files\Notepad++
C:\Program Files (x86)\Notepad++

Settings for the application. Changes you make to styles and such:
C:\Users\YourName\AppData\Roaming\Notepad++
This can also be accessed in Explorer with %APPDATA%\Notepad++

The files in this folder that contain the settings you might want to keep and protect, so you don't have to start over are:

config.xml
contextMenu.xml
functionList.xml
langs.xml
session.xml
shortcuts.xml
stylers.xml
plugins\config\RainLexer.xml

Before you start doing anything, make a backup copy of just these settings files. We are going to want to put them back at the end.

.dll executable files for plugins:
C:\Users\YourName\AppData\Local\Notepad++\plugins
This can also be accessed in Explorer with %LOCALAPPDATA%\Notepad++\plugins

If it even exists, there is no need to back up anything in this folder. This is a new folder location as of Notepad++ 7.6.

Ok, now we want to completely uninstall Notepad++. After doing so ensure that the following folders don't exist:
C:\Program Files\Notepad++
C:\Program Files (x86)\Notepad++
C:\Users\YourName\AppData\Roaming\Notepad++
C:\Users\YourName\AppData\Local\Notepad++

Then install the latest (7.6 as of this writing) version of Notepad++ from https://notepad-plus-plus.org/

32bit or 64bit is up to you, although be aware that while RainLexer supports either, many other older 3rd-party plugins you might be using may not work, and require an upgrade (if one exists) if you change from using 32bit Notepad++ to 64bit Notepad++.

Then install RainLexer using the instructions in the first post of this thread.

Then copy the settings files you backed up above, back to their original locations in C:\Users\YourName\AppData\Roaming\Notepad++

Start Notepad++ and edit a skin to be sure RainLexer is working and that any changes you made to the style or colors in that, or in Notepad++ in general, are still what you want. They should be.

Note: This should certainly be done, exactly as described above, if you use the Notepad++: Snippets for Rainmeter by eclectic-tech. That will almost certainly cause problems if you are using that, and don't re-install the "Snippets" plugin using the new Plugin Admin tool in Notepad++, AFTER doing a "clean" install of Notepad++.

I can't stress this enough. The entire Plugin Admin functionality is going to just flip out if there are old 3rd-party, or even built-in plugins, left behind in the wrong locations from older versions of Notepad++. It will be a complete mess, and following this guide is the best way to ensure everything runs as it should.
User avatar
jsmorley
Developer
Posts: 22628
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

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

Post by jsmorley »

Updated to version 2.1.1 to include Container keyword.

Download in first post of this thread.

Remember, this requires version 7.6 or later of Notepad++
User avatar
Yincognito
Rainmeter Sage
Posts: 7025
Joined: February 27th, 2015, 2:38 pm
Location: Terra Yincognita

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

Post by Yincognito »

I'm not sure if it has been already posted here, but how do you uninstall RainLexer? You know, other than manually deleting the corresponding files in places like C:\Users\[username]\AppData\Roaming\Notepad++\plugins\config and such... And since we're at it, what file(s) should be deleted when manually "uninstalling" RainLexer? I see an XML in the path mentioned above, is that all?

I'm using Obsidian as my Notepad++ theme, and although similar to the Zenburn theme that RainLexer is "compatible" with, I want to avoid changing colors in RainLexer and go with the more visible / contrasting colors from Obsidian.
User avatar
jsmorley
Developer
Posts: 22628
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

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

Post by jsmorley »

Yincognito wrote: December 8th, 2018, 4:02 pm I'm not sure if it has been already posted here, but how do you uninstall RainLexer? You know, other than manually deleting the corresponding files in places like C:\Users\[username]\AppData\Roaming\Notepad++\plugins\config and such... And since we're at it, what file(s) should be deleted when manually "uninstalling" RainLexer? I see an XML in the path mentioned above, is that all?

I'm using Obsidian as my Notepad++ theme, and although similar to the Zenburn theme that RainLexer is "compatible" with, I want to avoid changing colors in RainLexer and go with the more visible / contrasting colors from Obsidian.
There is no "uninstall" that is automatic. If you are running the latest (7.6+) of Notepad++, you just need to delete the following folders / files:

C:\Users\YourName\AppData\Roaming\Notepad++\plugins\config\RainLexer.xml
C:\Users\YourName\AppData\Local\Notepad++\plugins\RainLexer\RainLexer.dll

Then restart Notepad++

If you are running an earlier version of Notepad++ / RainLexer, the best advice is just to search for "RainLexer" on your system, and delete anything that is found. It will basically be that one .xml and one .dll.
User avatar
Yincognito
Rainmeter Sage
Posts: 7025
Joined: February 27th, 2015, 2:38 pm
Location: Terra Yincognita

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

Post by Yincognito »

jsmorley wrote: December 8th, 2018, 4:10 pm There is no "uninstall" that is automatic. If you are running the latest (7.6+) of Notepad++, you just need to delete the following folders / files [...]
Thanks, that's exactly what I wanted to know. Nice plugin though ;-)

EDIT:
1) Just a heads-up, after "uninstalling" RainLexer by deleting those two files you mentioned (Notepad++ 7.6 x64 on Win10x64), the colors for ini files went white (all of them), despite showing up correctly in Notepad++'s Style Configurator. This behavior happens even after reinstalling RainLexer by ticking the Reset Style Settings option - this time, of course, extending to the Rainmeter's .ini and .inc files
2) After more tests, it seems the colors get messed up only for files that were already opened in Notepad++, previously to the uninstall/install process. Basically, if I open the .ini again, it correctly displays colors. Not sure if it's a Notepad++, RainLexer or my "bug".
3) It seems I'll keep using RainLexer, the colors aren't so bad after all :D
Post Reply