Page 1 of 1

How to configure white text on black background?

Posted: Tue Oct 11, 2016 10:19 pm
by chrisjj
Please?

I tried Preferences > Documents Classes > <name> > Colors, but it see to offer no setting for the main text which is stuck in grey, e.g. the word 'res' on the first line here.

Image

Image[/img]

11 Year Old Problem?!?

Posted: Thu Feb 23, 2017 8:39 pm
by TheSQLGuru
I am having exactly the same issue. I cannot figure out how to get actual white for my text.

Posted: Thu Feb 23, 2017 10:18 pm
by MudGuard
second screen shot in first posting shows the entry "Text".
Changing foreground color of this to white should do it.

Posted: Sat Feb 25, 2017 2:28 pm
by TheSQLGuru
MudGuard wrote:second screen shot in first posting shows the entry "Text".
Changing foreground color of this to white should do it.
Text was already White. So was Characters.

Oddly enough, if you do something like make Selected Text be a dark grey color background and White for the Foreground the text is demonstrably whiter than unselected text on the black background.

Posted: Sat Feb 25, 2017 4:17 pm
by MudGuard
that might be due to the simultaneous contrast effect. The same brightness might seem different if the surrounding area is of different brightness.

Posted: Mon Feb 27, 2017 7:55 am
by AmigoJack
MudGuard wrote: simultaneous contrast effect
In the screenshots the text color in listbox "Item" in the dialog windows is white for i.e. the item "Text" (and all others). But in the editor said text is not white, only the line numbers. You can eliminate said contrast by using a picture editor and just draw a white line near objects where you're unsure.

However, with 8.1.1 and Java syntax highlighting I was unable to reproduce this issue when setting "Text" to black background and white foreground.

Posted: Mon Feb 27, 2017 9:44 am
by MudGuard
in the screenshot, the brackets are red, while the setting for brackets is white . The comments are green, while the setting for the comments is white ...

So I do not believe the screenshot ...

Re: How to configure white text on black background?

Posted: Sat Oct 13, 2018 10:31 am
by chrisjj
Two years later, I'd still love to find a solution.

Posted: Mon Oct 15, 2018 7:32 am
by AmigoJack
The comment's color doesn't match their settings, and (as has been written before) the bracket's color doesn't match their settings either. But you only seem to be bugged about the default text color - are you even sure you're looking at the syntax definition that is being used?

Posted: Tue Oct 16, 2018 1:40 pm
by chrisjj
AmigoJack wrote:The comment's color doesn't match their settings, and (as has been written before) the bracket's color doesn't match their settings either.
Yup! :)
AmigoJack wrote: But you only seem to be bugged about the default text color -
Priorities! :)
AmigoJack wrote:are you even sure you're looking at the syntax definition that is being used?
There's a question!

I'm sure I'm looking at the one that's should be used:

Image

And now (V8.1.1) it works!

Image

Thanks :)

Posted: Tue Jun 08, 2021 6:37 am
by LorenAmelang
Updated to 8.6.1, I tried all the suggestions here, hoping to get a dark mode with pure white chars on pure black. No matter what I chose directly, it looked perfect in the settings choices and in a visible sample, even after Apply, but when I'd _Close_, the backgrounds would interact strangely and the foreground would often flip... My white always ended up mid gray.

Seemed that choosing a random background other than black, saving, then going back to black and saving again fixed the background. Several of the style classes had to have this change, change back ritual performed. After that it still messed up some foreground colors on close. I gave up and chose white for all foregrounds, it seems to cope with that.

Posted: Wed Jan 05, 2022 10:35 am
by SoftMoore
I had the same problem, and I finally figured out how to solve it. First, change the text foreground color to a different color, say yellow, and click on apply. Then, change the text foreground color again back to white and click on apply. This second change will do what you want.