[PyQt] [PYQT] Increse the regex in QtCore.QRegExp
michaelkenth at gmail.com
Sun Sep 16 04:31:01 BST 2018
> doc.setDefaultStyleSheet(<span class="highlight">found</span>)
> This is where the css rules go, not the html
> this would be where you set the html
Aside from that:
- Profile the code because the issue may not be where you expect it
- You might look into using QSyntaxHighlighter, which would allow you to
highlight without inserting HTML markup.
- If you could post a self contained runnable example I'd take a closer look
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the PyQt