I used http://www.eclipsecolorthemes.org/ to set up syntax coloring in Eclipse. My standard palette is dark on light, but selected text is inverted (light on dark). The problem is that Eclipse uses my selection background color but keeps the regular foreground color, so I wind up with an unreadable dark-on-dark.
Generally this is on code, so my foreground colors are coming from the syntax-based colors, but I tried this on a plain text file that uses the basic colors from the General > Editors > Text Editors preference. Normal text is "Foreground color" on "Background color" and selected text is "Foreground color" on "Selection background color" -- it seems to ignore "Selection foreground color" entirely.
This is Eclipse Indigo on OS X. I recently swapped hardware and went through a long and iterative process of rebuilding my Eclipse environment, but I could swear that this was working fine previously (on Helios).
I was also having issues with 'selection color' on a dark background. I was interested in changing 'selection background color' and not foreground color though.
A restart of Eclipse worked for me on OS X (other color changes take effect immediately, but 'selection background color' wasn't taking effect until I restarted Eclipse)
I also upgraded to latest version of Eclipse before doing that.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With