[Qt-creator] About the cursor color
matthias.ettrich at nokia.com
matthias.ettrich at nokia.com
Tue Nov 10 22:02:34 CET 2009
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.
The alternatives are worse:
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
________________________________________
From: qt-creator-bounces at trolltech.com [qt-creator-bounces at trolltech.com] On Behalf Of ext paulo [paulo.jnkml at gmail.com]
Sent: Wednesday, November 11, 2009 1:50 AM
To: qt-creator at trolltech.com
Subject: [Qt-creator] About the cursor color
Hi,
> At least for me, using Qt Creator on X11, the text cursor is the same
> colour as the standard text (for example with the dark FakeVim theme,
> the cursor is gray).
>
> In another post you said you were using a black background, but surely
> your 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
Qt-creator at trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-creator
More information about the Qt-creator-old
mailing list