Change colors in console window open after Find All in Current Document
-
@guy038 said:
last N++ version which correctly handles the Selected Line style, of the pseudo-language Search Result, seem to be the v5.7 release ! With the next release, v5.8, the highlighting, when double-clicking, in the Find Result panel, does not work
Of course you are correct. You win some sort of detective award for this effort. :)
It is good to know the history, but I find that with this change from v7.5.7:
Make caret line always visible on click from Finder panel.
that the
Selected Line
style really isn’t that necessary anyway. What do you think? -
Thanks,
Style Configurator -> Language -> Search results did the trick.
One thing that I am curious about is if highlight overlays are cumulative? For example, if my current line is RGB 50 50 50 for a dark gray and my selected text is RGB 100 100 100 for a less dark gray, it appears that in the area of overlap, the line is actually lighter than 100 100 100 and more like 150 150 150 for a medium gray.
Has anyone seen this?
Thanks,
Steve
-
@Alan-Kilborn said:
the Selected Line style really isn’t that necessary anyway. What do you think?
If none of us power-users had noticed that particular highlighting was missing since v5.8 (or at least it hadn’t bothered us enough to say anything), then it’s probably not necessary. :-)
-
@Steven-Haymes said:
it appears that in the area of overlap, the line is actually lighter than 100 100 100 and more like 150 150 150 for a medium gray.
Yeah, it wouldn’t surprise me if it did apply some combo of the various highlight overlays – I don’t know whether it’s a linear combo, though. (Obviously, at some point, it stops, since it won’t go over 255 255 255… :-))
But if you told me that those two grays were different, I wouldn’t disagree with you. (My greyscale distinguishing isn’t great… and I’m often using NPP over a remote desktop connection, and colors don’t make it through the tunnel unaffected.)
-
Hi, @steven-haymes, @alan-kilborn, @peterjones, and All,
I did notice that difference, a long time ago. But, both, I’ve been able to live, with that regression, up to now and I was not courageous enough to post an issue, on GitHub ;-))
You’re right ! Current line, in the
Find Result
panel, has a light background color, anyway ! This gives me an idea for a possible work-around, in order to easily localize the double-clicked line :-))Just change the background color of the
Current line background color
style, of the pseudo-languageSearch result
, to a darker color ;-)). For instance, you could choose, in aRGB
notation :-
A Violet color :
255,160,255
-
A Blue color :
128,160,255
-
A Yellow color :
255,255,96
Of course, doing so, prevents you from changing the foreground color of text. However, I verified that, even if you open successive
Find result
panels, by right-clicking and choosing theFind results in these found results
option, the current line is still highlighted, with this darker color !Cheers,
guy038
-
-
@guy038 said:
idea for a possible work-around, in order to easily localize the double-clicked line
Can you elaborate more on how this is advantageous? To me it just sounds like changing out one color for another, with no “improvement” in functionality. Clearly I am missing the point…it happens. :)
-
Hi, @alan-kilborn and All,
- With the
v4.9.2
release, by default :
- With the
v5.7
Unicode release, by default :
- With the last
v7.7.1
Unicode release, by default :
Obviously, it easier to localize the double-clicked line, of the
Find Result
panel, in the first two pictures than in the third one ;-))Indeed, my work-around is not complicated at all ! I just made the
current line background color
darker, in order to simulate theselected line
style, which does not work, anymore !So, for instance, with a darker yellow, we get the
4th
picture, below, which is better visible than in the3th
picture above ;-))
- With the last
v7.7.1
Unicode release, after modification of the background color ofCurrent line background
style of theSearch result
language :
Cheers,
guy038
- With the
-
Oh, OK, it IS just a color change. I thought you had some magic whereby you achieved some additional functionality. :)
Thanks for clarifying, and the images.
-
“Indeed, my work-around is not complicated at all ! I just made the current line background color darker, in order to simulate the selected line style, which does not work, anymore !”
I suspected that the selected line style was not working, thanks! My custom theme has a black background, so I already achieved the same result as you by going lighter instead.
Steve
-
Console Editing for Notepad++:
plugins/npp exec/ change console font
this path changes the console’s font, font style, and size.
plugins/npp exec/advanced options
This path changes the color of the fonts in the terminal.
-
Sorry, @Reggie-Wherry,
You have misunderstood the question from 6 years ago. They were asking about the Search Results panel; your answer is talking about how to change settings for the NppExec plugin’s console panel, so is irrelevant to the original, already-answered question.