PDA

View Full Version : QtCreator warning underlines in text editor



chaoticbob
26th December 2009, 23:58
Is there a way to disable the yellowish underlining thing in the text editor when it thinks there is an issue?

I've looked all over and I can't seem to find an option that does it.

Thanks.

wysota
27th December 2009, 08:35
You can resolve the issue :) Apart from that I don't think this is currently possible.

elcuco
28th December 2009, 20:25
I must admit I find a lot of false positives... this is not always working as expected.

wysota
29th December 2009, 20:01
For me it only doesn't work if I use prf files. Apart from that everything is predictable. Can you pinpoint the conditions where false positives occur?

elcuco
29th December 2009, 21:41
Write this in a header file:



#include <QTextDocument>
QTextDocument::FindFlag a;


Including this file will not fail compilation, howerver, this line will not be recognized as a valid line. I can give you full sources to reproduce this problem if you want ;-)

wysota
29th December 2009, 22:02
I don't get a false positive with that one. I'm using Creator 1.3.

squidge
29th December 2009, 23:46
I get no underlines on 1.2.1 either.