Changing color of text highlighted is broken
-
This post is deleted! -
As documented quite clearly in the official npp-user-manual: https://npp-user-manual.org/docs/preferences/#global-styles
Selected text colour [background only] ⇒ Selected text will be indicated with this background. If Preferences > Highlighting > Smart Highlighting is enabled, the “Smart Highlighting” style (below) will be coloured overtop of the “Selected Text Colour”.
That style is a background-only style. It ignores the foreground color set.
Seems like a bug.
It’s not. It’s the way it’s designed and documented.
-
I notice that some places in the Style Configurator have settings that are disabled if they are unable to be set? Or am I just remembering wrong (I’m not on my PC just now to check).
But…it seems like good design would dictate, that if something “has no effect”, it should be greyed out so that it can’t be changed (and mislead the user into thinking that it can be).
This foreground color seems like a good candidate.
-
Back on my PC now…
I notice that in my “much manually upgraded” Notepad++ 7.9, the Selected text colour’s Foreground colour IS enabled, but in a fresh 7.9 portable version, it is disabled from editing.
-
@PeterJones I cannot understand how to change color of characters. Can you please explain?
-
Please restore your first posting in this thread.
Please don’t create other threads that are just a duplicate ( https://community.notepad-plus-plus.org/topic/20156/how-to-change-color-of-letters-of-highlighted-text )