[texworks] TW-Highlighting-colors aren't equal to GUI-colors

Johannes Heck heck.johannes at googlemail.com
Tue Jan 25 13:24:16 CET 2011


Hi,

i've just noticed that (at least) on Win XP, TW doesn't use the standard
OS-GUI-Colors for highlighting text aren't equal to the OS' GUI definitions.
I changed the colors on Win XP on my Laptop to a "contrast"-theme for better
readability and more eye-friendlyness at low brightness od the TFT.
You can see on Screenshot 1 that the text "Your text goes here" is selected
and highlighted in purple.
On Screenshot 2 you see what happens if I insert a new tag by typing \sec
and TAB-Key. The new text is highlighted in bright yellow, which brings a
really bad contrast with white text. Shouldn't TW highlight this in purple,
too? I'm not a programmer, but if TW changes the window background, menus,
dialogs etc. with changing the windows apparency (?) theme, why shouldn't it
change the highlighting color too into that color which is defined for
selected text?

Another thing seems to me the problem with syntax highlighting when using a
contrast theme. On Screenshot 3 you see what happens if syntax highlighting
is activated - not really nice. Especially the maroon color for {} are very
hard to read on a black bg. But this will be difficult to be done by
matching OS-defined GUI-colors, won't it?

Regards, Johannes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/texworks/attachments/20110125/2422ad92/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: highlight1.JPG
Type: image/jpeg
Size: 126078 bytes
Desc: not available
URL: <http://tug.org/pipermail/texworks/attachments/20110125/2422ad92/attachment-0003.jpe>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: highlight2.JPG
Type: image/jpeg
Size: 127319 bytes
Desc: not available
URL: <http://tug.org/pipermail/texworks/attachments/20110125/2422ad92/attachment-0004.jpe>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: highlight3.JPG
Type: image/jpeg
Size: 98185 bytes
Desc: not available
URL: <http://tug.org/pipermail/texworks/attachments/20110125/2422ad92/attachment-0005.jpe>


More information about the texworks mailing list