I wanted to give Sonnet Highlighter a try and I find that it simply doesn't 
work for me (debian unstable packages), it gives:

Traceback (most recent call last):
  File "test-sonnet.py", line 10, in <module>
    Sonnet.Highlighter( edit )
TypeError: argument 1 of Highlighter() has an invalid type

I attach a simple application that shows that I'm actually providing a 
QTextEdit to Highlighter constructor as requested according to the 
documentation 
[1].

Has anybody been successful using Sonnet? Does the test provided work on your 
system or is it a PyKDE bug?

[1] 
http://api.kde.org/4.x-api/kdelibs-apidocs/kdeui/html/classSonnet_1_1Highlighter.html

Thanks in advance!

-- 
Albert Cervera i Areny
http://www.NaN-tic.com

Attachment: test-sonnet.py
Description: application/python

_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to