[PyKDE] QTextBrowser and strange cursor position

Jarek Zgoda jzgoda at gazeta.pl
Sun Mar 7 10:59:01 GMT 2004


I try to implement some simple spell checking window with QTextBrowser
(text to check) and QListBox (replacement suggestions).

In QTextBrowser, on any (valid) change of cursor position (i.e. after
succesfull call to find(), or even on calling setCursorPosition(0, 0)),
I get a message in terminal window:

QTextCursor::gotoParagraph Index: -1073754628 out of range

Everything seems to work OK, but I'm not sure, if it comes from
underlying Qt, or do I make something wrong. Anyone noticed such
behavior? Can this have any side effect?

PyQt 3.10, SIP 4.0RC2, Qt 3.2.3 (the one that comes with KDE 3.2).

-- 
Jarek Zgoda
http://jpa.berlios.de/




More information about the PyQt mailing list