If you care to know my opinion, one (non exclusive) solution is to allow
the user to select the cursor color.
At least it gives more flexibility without confusing anyone.
Post by Alan WestbrookI agree with Matthias, having different elements have different
background colors is probably a bad idea to use in practice as it
would probably introduce too much cognitive load, like reading a
ransom note.
I vaguely remember they did this in some parts of the Commodore Vic
20, but haven't seen anything like that nice then, probably for this
very reason.
Alan
Different background colors for certain elements in the syntax
highlighter is a bad idea anway. It looks noisy and it limits what
can be highlighted with extra selections. The color schemes we
ship should not do that, I'd rather disallow it in the editor
completely. At a bare minimum the the schemes should not pick
background colors which do not contrast with the standard text color.
a) like open office: the cursor just "inverts" the pixels
underneath. Plain ugly, looks like painting artefacts.
b) like mozilla's rich text edit: use the text color for the
cursor. This means the cursor also in the normal scheme changes
color wherever it is. Also confusing.
What else can we do? Flip between standard foreground and
background depending on what gives the best contrast at a certain
position?
Matthias
________________________________________
Sent: Wednesday, November 11, 2009 1:50 AM
Subject: [Qt-creator] About the cursor color
Hi,
Post by Thorbjørn LindeijerAt least for me, using Qt Creator on X11, the text cursor is the
same
Post by Thorbjørn Lindeijercolour as the standard text (for example with the dark FakeVim
theme,
Post by Thorbjørn Lindeijerthe cursor is gray).
In another post you said you were using a black background, but
surely
Post by Thorbjørn Lindeijeryour text isn't also set to black in that case.
Regards,
BjÞrn
I just notice that what you say is true. But the cursor will take the
color of the normal text (usually black over white) and, when you change
to another time of text (say a comment with yellow text over black) the
cursor still keeps the normal text color (black), therefore becomes
"invisible".
I'm sure this is not the expected behavior, right?
Regards,
Paulo
_______________________________________________
Qt-creator mailing list
http://lists.trolltech.com/mailman/listinfo/qt-creator
_______________________________________________
Qt-creator mailing list
http://lists.trolltech.com/mailman/listinfo/qt-creator
------------------------------------------------------------------------
_______________________________________________
Qt-creator mailing list
http://lists.trolltech.com/mailman/listinfo/qt-creator