[Qt-creator] About the cursor color
paulo
paulo.jnkml at gmail.com
Thu Nov 12 02:27:10 CET 2009
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.
How about that?
Paulo
On 11/10/2009 10:28 PM, Alan Westbrook wrote:
> I 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
>
> On Tue, Nov 10, 2009 at 1:02 PM, <matthias.ettrich at nokia.com
> <mailto:matthias.ettrich at nokia.com>> wrote:
>
> 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
> <mailto:qt-creator-bounces at trolltech.com>
> [qt-creator-bounces at trolltech.com
> <mailto:qt-creator-bounces at trolltech.com>] On Behalf Of ext paulo
> [paulo.jnkml at gmail.com <mailto:paulo.jnkml at gmail.com>]
> Sent: Wednesday, November 11, 2009 1:50 AM
> To: qt-creator at trolltech.com <mailto: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 <mailto:Qt-creator at trolltech.com>
> http://lists.trolltech.com/mailman/listinfo/qt-creator
>
> _______________________________________________
> Qt-creator mailing list
> Qt-creator at trolltech.com <mailto:Qt-creator at trolltech.com>
> http://lists.trolltech.com/mailman/listinfo/qt-creator
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Qt-creator mailing list
> Qt-creator at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-creator
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-creator-old/attachments/20091112/b404dd7f/attachment.html
More information about the Qt-creator-old
mailing list