https://bugs.kde.org/show_bug.cgi?id=383350

Dominik Haumann <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #3 from Dominik Haumann <[email protected]> ---
There is one possible solution: Instead of using the ready-made
QSyntaxHighlighter based solution, you could implement your own
QSyntaxHighlighter-based solution.

This is e.g. done in this commit in the KDE PIM suite:
https://phabricator.kde.org/D7672
https://cgit.kde.org/kpimtextedit.git/commit/?id=c775ce3a438814f82cb1ba9c2c8671b9f5be08c4

Here, the class PlainTextSyntaxSpellCheckingHighlighter derives from
Sonnet::Highlighter AND KSyntaxHighlighting::AbstractHighlighter.

If you follow this same route, you will be able to do what you want.

@Volker: I think this is the only solution to this problem, right? If so, I
think we can close this bug report, correct?

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to