It is currently April 27th, 2024, 11:21 pm

RainLexer 2.20.0 (syntax highlighter for Notepad++)

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

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

Post by jsmorley »

AZbor1 wrote:Hi,
Thank you so much for such a useful thing.
There is a question whether the values ​​are highlighted by the color? (As in the Sublime Text 2)
example:
FontColor = 255,255,255,255


P.S. Sorry for my english :) (Google Translate)
Just my vote, but I can't imagine anything I would want less... ;-)
dragonmage
Developer
Posts: 1270
Joined: April 3rd, 2009, 4:31 am
Location: NC, US

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

Post by dragonmage »

jsmorley wrote: Just my vote, but I can't imagine anything I would want less... ;-)
Not even if it actually displayed it in the color defined? ;)
User avatar
jsmorley
Developer
Posts: 22631
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

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

Post by jsmorley »

dragonmage wrote: Not even if it actually displayed it in the color defined? ;)
Not really. Having it use color to annoyingly remind me that the first part of the code is red and the second part green is not something anyone needs more than once, and having it go to the bother to figure out what color the color code defines, and display the color code in the color of the code (as it were) only means that half the time I can't read it at all on the background color of my editor.

Just my own taste, but I prefer a pretty straightforward editor, with enough color coding to have important distinctions jump out as I am scanning the code. I'm not much for doing my editing in Ringling Brother's Barnum & Bailey's Circus. Much as I like clowns.. ;-)

Having said that, I'm fine with absolutely any silly thing being added, as long as I can turn it off...
User avatar
MerlinTheRed
Rainmeter Sage
Posts: 889
Joined: September 6th, 2011, 6:34 am

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

Post by MerlinTheRed »

The color coding of color definitions (along with coloring format strings like %h, %1 etc.) is one of the things I'm really not sure about in my Sublime package. They tend to color things that aren't even colors a lot of the time due to ambiguous syntax.

If you use the comma separated color definition I agree that it's probably not very useful. I find it useful when dealing with hex definitions because there it's not as easy to identify the different parts.

Sadly there isn't really an easy way of implementing a configuration option to turn off this thing. The only options you have is either modifying the color scheme or modifying the syntax definition, which are not trivial to do.

Until now not many people have actually complained about the issue so I'll assume the benefits outweigh the drawbacks.

Displaying color definitions in their true color is something that will annoy you most of the time for precisely the reason jsmorley pointed out. Reading text where the background and foreground color have bad contrast can almost hurt your eyes sometimes.
Have more fun creating skins with Sublime Text 2 and the Rainmeter Package!
dragonmage
Developer
Posts: 1270
Joined: April 3rd, 2009, 4:31 am
Location: NC, US

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

Post by dragonmage »

Yeah, I know. I was just trying to think of something Mr. Morley might "want less" than the previous suggestion.
User avatar
jsmorley
Developer
Posts: 22631
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

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

Post by jsmorley »

dragonmage wrote:Yeah, I know. I was just trying to think of something Mr. Morley might "want less" than the previous suggestion.
Hehe... A poke in the eye with a sharp stick. ;-)
poiru
Developer
Posts: 2872
Joined: April 17th, 2009, 12:18 pm

RainLexer 1.1.4 released!

Post by poiru »

RainLexer 1.1.4 is available for download. Get it from poiru.github.com/rainlexer!

Changes:
- Updated keywords
User avatar
Callisto
Posts: 25
Joined: January 8th, 2013, 11:42 pm
Location: Russia, Novo-Nikolayevsk

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

Post by Callisto »

Thank you.
Very useful thing.

But I think it would be useful to add highlight to Functions (atan, log, sqrt, round and other. And as pi, e, counter)
User avatar
jsmorley
Developer
Posts: 22631
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

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

Post by jsmorley »

Here are a few new items to add to RainLexer.

Code: Select all

[RainLexerItems]
OnChangeAction=!Refresh
OnUpdateAction=!Refresh
ClipStringW=1
ClipStringH=1
Recursive=1
Count=1
ShowDotDot=1
ShowFolder=1
ShowFile=1
ShowHidden=1
ShowSystem=1
HideExtensions=1
Extensions=.png;.jpg
SortAscending=1
SortDateType=1
Index=1
IgnoreCount=1
DateType=1
IconPath=#CURRENTPATH#
IconSize=1
poiru
Developer
Posts: 2872
Joined: April 17th, 2009, 12:18 pm

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

Post by poiru »

jsmorley wrote:Here are a few new items to add to RainLexer.
Thanks. Will update in a few days.