[PyQt] error in syntax highlighting example
Jesse Aldridge
jessealdridge at gmail.com
Thu Jul 23 21:42:53 BST 2009
Hi. There's an error in the latest snapshot in
"examples/designer/plugins/widgets/highlightedtextedit.py"
Fix by doing this on line 133:
- index = text.indexOf(expression, start)
+ index = expression.indexIn(text, start)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20090723/d21a2c2b/attachment.html
More information about the PyQt
mailing list