KTextAddons
plaintextsyntaxspellcheckinghighlighter.h
27class TEXTCUSTOMEDITOR_EXPORT PlainTextSyntaxSpellCheckingHighlighter : public Sonnet::Highlighter, public KSyntaxHighlighting::AbstractHighlighter
30 explicit PlainTextSyntaxSpellCheckingHighlighter(PlainTextEditor *plainText, const QColor &misspelledColor = Qt::red);
void setMisspelled(int start, int count) override
Reimplemented to set the color of the misspelled word to a color defined by setQuoteColor().
void highlightBlock(const QString &text) override
Reimplemented to highlight quote blocks.
void unsetMisspelled(int start, int count) override
Reimplemented, the base version sets the text color to black, which is not what we want.
Q_SCRIPTABLE QString start(QString train="")
QTextCharFormat format(int position) const const
red
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:49:24 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:49:24 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.