KTextAddons
plaintextsyntaxspellcheckinghighlighter.cpp
73PlainTextSyntaxSpellCheckingHighlighter::PlainTextSyntaxSpellCheckingHighlighter(PlainTextEditor *plainText, const QColor &misspelledColor)
92void PlainTextSyntaxSpellCheckingHighlighter::setDefinition(const KSyntaxHighlighting::Definition &def)
159void PlainTextSyntaxSpellCheckingHighlighter::applyFormat(int offset, int length, const KSyntaxHighlighting::Format &format)
Theme theme() const
Definition definition() const
State highlightLine(QStringView text, const State &state)
void setMisspelledColor(const QColor &color)
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 Q_NOREPLY void start()
KTEXTEDITOR_EXPORT QDebug operator<<(QDebug s, const MovingCursor &cursor)
Bold
bool invokeMethod(QObject *context, Functor &&function, FunctorReturnType *ret)
QTextBlock currentBlock() const const
int currentBlockState() const const
QTextCharFormat format(int position) const const
void rehighlight()
void rehighlightBlock(const QTextBlock &block)
void setCurrentBlockState(int newState)
void setFormat(int start, int count, const QColor &color)
QueuedConnection
QTextBlock next() const const
QTextBlock previous() const const
SpellCheckUnderline
void setFontItalic(bool italic)
void setFontStrikeOut(bool strikeOut)
void setFontUnderline(bool underline)
void setFontWeight(int weight)
void setBackground(const QBrush &brush)
void setForeground(const QBrush &brush)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 20 2024 11:49:44 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 20 2024 11:49:44 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.