Bug 96235 - [preference][syntax highlighting] Can't tell syntax coloring to use system defaults
Summary: [preference][syntax highlighting] Can't tell syntax coloring to use system de...
Status: ASSIGNED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows 2000
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 401620
  Show dependency tree
 
Reported: 2005-05-21 20:02 EDT by ryenus ' CLA
Modified: 2013-03-12 07:15 EDT (History)
0 users

See Also:


Attachments
black is not BLACK, but lime/green ;-) (33.71 KB, image/png)
2005-05-24 19:37 EDT, ryenus ' CLA
no flags Details
"black" Java element got hidden. (41.67 KB, image/png)
2005-05-24 19:59 EDT, ryenus ' CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description ryenus ' CLA 2005-05-21 20:02:40 EDT
As we can see the default color of "Text Font" is set to black,
which is also referred to by "Java Editor Text Font"

And I Java/Editor/Syntax Coloring, there are some elements' color
also default to black, 

In most cases, these is no problem, but when I switch my windows 
color scheme, such as lime text/black background, now in Eclipse
I can not see the ordinary/not colored text because they are also
black!

so I suggest the general "black" text color are just default to the same 
vaule of OS text color, maybe an color entry "automatic" is better.
Comment 1 Dani Megert CLA 2005-05-22 12:11:29 EDT
We use the (default) color provided by StyledText.
Comment 2 Steve Northover CLA 2005-05-24 14:23:41 EDT
This WORKSFORME outside of the Java editor.  When I change the default text 
color from black to dark blue, the .txt files in Eclipse change.
Comment 3 ryenus ' CLA 2005-05-24 19:37:21 EDT
Created attachment 21693 [details]
black is not BLACK, but lime/green ;-)

(In reply to comment #2)

Please take a look at my screenshot ;-)

we can see the default text color setting in 
Preferences > General > Appearance > Colors and Fonts > Basic > Text Font
The text color is "Black"!

but you can see it's lime/green in the text editor screenshot,
because I've changed my OS color scheme, (os win2k).

then how can you say that it work for you? 
at least the name "Black" is wrong! ;-)

(don't care about the font name, it's Chinese, means "NSimSun")
Comment 4 ryenus ' CLA 2005-05-24 19:59:29 EDT
Created attachment 21694 [details]
"black" Java element got hidden.

(In reply to comment #2)

Here is a screenshot of the Java editor:

and till now, I've only changed the basic text font/color,
nothing of Java editor or Java > Editor > Syntax Coloring is changed,
and I've changed the font setting of the invisible element,
they are "black" :(.
Comment 5 ryenus ' CLA 2005-05-24 20:05:11 EDT
(In reply to comment #4)

> and till now, I've only changed the basic text font/color,

sorry for any confusion, actually I mean I've only changed 
the font face in the basic > text font, the color is still
the default "black"

I've only change the color of font in windows theme.

Thanks
Roger

Comment 6 Dani Megert CLA 2005-05-25 05:26:53 EDT
The font color is always ignored.

For Text editors we have a preference under Editors > Text Editors allows to set
the colors to the system default (this is in fact Eclipse default).

The problem with the Java editor is that the current syntax coloring preferences
don't allow to specify 'System Default'.

For 3.2 we should add an option to each syntax highlighting which allows to
specify (using radio buttons):
(x) Use default text editor foreground color (with a link)
( ) Color: [color button]