FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


Is this a bug of QTextDocument (Qt lib)?





inuyasha
I'm coding a code editor and now I'm dealing with the syntax highlighter.

But it's really strange that in QTextDocument, the characters before a '(' can't be painted at all. Here's my code.
http://pastebin.com/jmargXuT

The method setFormat(int, int, QCharFormat) doesn't work before a '('. I'm totally confused...
Related topics
I have a problem....Mozilla Firefox
Has Firefox 1.5 Beta had any bug?
Interesting IE6 Software Bug...
microsoft word bug
Google Bug?
CNN's leftard bias??? Naaa....
Is it a Bug or Easter Egg?
Urban Legends About the Iraq War
Student Learns Valuable lessons from Father
writing COM components in Perl
Bug in DirectAdmin...
Choosing a Distro
Lib Dems need to 'draw together' (UK)
Gmail = Functions missing!!
Reply to topic    Frihost Forum Index -> Scripting -> Others

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.