It is currently July 4th, 2022, 6:36 am

RainLexer 2.20.0 (syntax highlighter for Notepad++)

Plugins and Addons popular with the Community
User avatar
Yincognito
Rainmeter Sage
Posts: 4724
Joined: February 27th, 2015, 2:38 pm
Location: Terra Yincognita

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

Post by Yincognito »

oZone wrote: April 5th, 2022, 3:04 pm Missing bangs SetWindowPosition and SetAnchor.

Missing options OnHover and DefaultOnHover.

Both options HideOnMouseOver and DefaultHideOnMouseOver are deprecated.

Also documentation for options above https://docs.rainmeter.net/manual/settings/skin-sections/ and https://docs.rainmeter.net/manual/skins/rainmeter-section/defaults/ are using deprecated version.

btw
Documentation for RegValue=REG_BINARY is missing (https://docs.rainmeter.net/manual/measures/registry/#RegValue)
Damn, I use SetWindowPosition in one of my skins, but never noticed it's not colored as it should be - good catch(es)! :thumbup:

That being said, it looks all these items were recently added or adjusted in Rainmeter. I suppose the modifications to RainLexer are now done manually, so I wonder if there isn't a way to automate the process (e.g. export a list / "dictionary" of all options, bangs, sections, etc.) each time a new Rainmeter version is built, so the list can be used to either update the necessary changes to RainLexer or check against the previous list to highlight the needed adjustments, in order to avoid otherwise human omissions. Sure, the regexes or whatever that are used to color text in Notepad++ would still have to be done manually, but at least a full list of what should be done would be available as a reference (incidentally, this looks like an interesting skin project :D). If this is worth bothering with and building the "system" doesn't take more time than manually checking things, that is...
User avatar
Active Colors
Moderator
Posts: 1126
Joined: February 16th, 2012, 3:32 am
Location: Berlin, Germany

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

Post by Active Colors »

DisableAutoUpdate= in Rainmeter.ini is not being highlighted in the 2.20.0.