The QSyntaxHighlighter::highlightBlock() method is protected, but Sonnet::Highlighter::highlightBlock() is public. Is there any need for this, and is it ok to change it to protected. kdelibs compiles fine with the change, and the method doesn't seem to need to be public to me. -- Richad