[Qt-creator] Missing highlighting of qreal, plus missing completion of QMultiMap
Christopher Rasch-Olsen Raa
christopher at technophile.info
Mon Jan 12 22:12:14 CET 2009
Tirsdag 13 januar 2009 18:27:18 skrev Daniel Molkentin:
> ext Christopher Rasch-Olsen Raa schrieb:
> > Using Qt Creator Dec 17 build.
> >
> > Type 'qreal' does not get highlighted, whilst other types get highlighted
> > flawlessly.
>
> This is because "qreal" is a typedef that is an alias to either real or
> double depending on the target platform. However, at the time where
> syntax highlighting happens, we do not have information about include
> files yet, and hence do not know about typedefs. That's mostly for
> performance reasons.
>
> We should probably add a second pass of highlighting which adds those
> information, but such a feature is not planned yet. Just adding "qreal"
> to the list of keywords is also not really acceptable, since it would
> also get highlighted in non-Qt projects.
>
> Maybe Roberto can comment on this further.
>
> > In addition, auto-completion does not work for QMultiMap.
>
> Ignored as requested ;-)
I found what I was looking for. QModelIndexList gives no auto-completion. I do
not know why I got it into my head that it was QMultiMap...
> > Aside from that I'm very satisfied with the tool so far.
>
> Nice to hear!
>
> Daniel
--
Christopher
More information about the Qt-creator-old
mailing list