I have a QSyntaxHighlighter "installed" on a QTextEdit. The rules for the syntax highlighter can be dynamically altered by the user. Is there any more convenient way to tell QTextEdit/QTextDocument to refresh it's syntax highlighting than just deleting the old syntax highlighter and then creating a new one. I'm currently doing so and it works, but it seems a bit awkward to me...
Bookmarks