Why can't I change the forecolor selection for the current line highlight color? I can change the highlight color, but not the forecolor. More so Notepad++ should automatically adjust colors so the text is readable when highlighted! When opening an NFO file I can't read the text under the highlight bar or selected text. I change them in the style configuration, but then the colors make it hard to read text in standard text files. Please include some updates to the style configuration colors to automatically select a good foreground color based on the background color of the text! This should be automatic somehow.
Thank you very much for a great program!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
So the answer is it's not possible to change the selected text foreground color? At least that's what I got from searching the wiki. A quick search through Google comes up with a line in NPP 2.2 version history: "Text foreground colour remains the same when text is selected (change only the selected text background colour)." This sounds as if it was once possible to do, but was disabled for some reason.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
your_color_here must be an integer made of Blue+256*Green+65536*Red. Blue, Green and Red are the three components of the colour you choose, they are integers between 0 and 255 inclusive.
You'll have to devise one macro per colour you need. And don't forget to fire it for it to be effective.
CChris
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Why can't I change the forecolor selection for the current line highlight color? I can change the highlight color, but not the forecolor. More so Notepad++ should automatically adjust colors so the text is readable when highlighted! When opening an NFO file I can't read the text under the highlight bar or selected text. I change them in the style configuration, but then the colors make it hard to read text in standard text files. Please include some updates to the style configuration colors to automatically select a good foreground color based on the background color of the text! This should be automatic somehow.
Thank you very much for a great program!
*bump*
*bump* from me too...
same here in 5.5.1 version.
Any way to change the foreground color for nfo style?
bump i want to know this too
https://sourceforge.net/apps/mediawiki/notepad-plus/index.php?title=Main_Page
Don
So the answer is it's not possible to change the selected text foreground color? At least that's what I got from searching the wiki. A quick search through Google comes up with a line in NPP 2.2 version history: "Text foreground colour remains the same when text is selected (change only the selected text background colour)." This sounds as if it was once possible to do, but was disabled for some reason.
Actually the wiki doesn't say much about this.
But you can plug a synthetic macro in to achive this:
<Macro name="foreSel" Ctrl="yes" Alt="yes" Shift="no" Key="100">
<Action type="0" message="2067" wParam="1" lParam="your_color_here"/>
</Macro>
your_color_here must be an integer made of Blue+256*Green+65536*Red. Blue, Green and Red are the three components of the colour you choose, they are integers between 0 and 255 inclusive.
You'll have to devise one macro per colour you need. And don't forget to fire it for it to be effective.
CChris