-
Notifications
You must be signed in to change notification settings - Fork 206
Standard text editor ignores preferences for foreground color #869
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Have you tried 2023-03 already? |
Oh, sure, I should have verified there first. But I did now and yes, the issue is the same in https://download.eclipse.org/eclipse/downloads/drops4/R-4.27-202303020300/download.php?dropFile=eclipse-platform-4.27-win32-x86_64.zip. |
I suspect the Theme engine incorrectly overrides the color here. Can you please try disable theming to verify the preference setting work? |
You are right, if theming is disabled, the preferences setting is used. |
The color which overrides the preference is in the plugin org.eclipse.ui.themes in file e4-dark_partstyle.css the color: #AAAAAA line 59. |
Bug already existed: Dark Theme: Custom editor background color not properly applied Further discussion about setForeground/setBackground: #306 |
Fix for #869 Change-Id: Ib739afdc301c4e37dcbbe37ef063ed32cb7f53d7
this was fixed by #1036 |
The following issue is present in Version: 2022-12 (4.26).
I have the dark theme active. When I create a plain text .txt file and put some there is is displayed in the light grey color configured in the preferences "General / Editors / Text Editors / Appearance and color options / Foreground color". But changing the color there has no effect. All the other color settings there (selection foreground and background, line numbers, .... ) work correctly. In this example I've set the foreground to purple:
The text was updated successfully, but these errors were encountered: