KDE3Support
K3SpellingHighlighter Class Referenceabstract
#include <k3syntaxhighlighter.h>
Inheritance diagram for K3SpellingHighlighter:

Public Member Functions | |
K3SpellingHighlighter (Q3TextEdit *textEdit, const QColor &spellColor=Qt::red, bool colorQuoting=false, const QColor &QuoteColor0=Qt::black, const QColor &QuoteColor1=QColor(0x00, 0x80, 0x00), const QColor &QuoteColor2=QColor(0x00, 0x80, 0x00), const QColor &QuoteColor3=QColor(0x00, 0x80, 0x00)) | |
~K3SpellingHighlighter () | |
virtual int | highlightParagraph (const QString &text, int endStateOfLastPara) |
bool | intraWordEditing () const |
virtual bool | isMisspelled (const QString &word)=0 |
void | setIntraWordEditing (bool editing) |
![]() | |
K3SyntaxHighlighter (Q3TextEdit *textEdit, bool colorQuoting=false, const QColor &QuoteColor0=Qt::black, const QColor &QuoteColor1=QColor(0x00, 0x80, 0x00), const QColor &QuoteColor2=QColor(0x00, 0x80, 0x00), const QColor &QuoteColor3=QColor(0x00, 0x80, 0x00), SyntaxMode mode=PlainTextMode) | |
~K3SyntaxHighlighter () | |
int | highlightParagraph (const QString &text, int endStateOfLastPara) |
Static Public Member Functions | |
static QStringList | personalWords () |
Additional Inherited Members | |
![]() | |
enum | SyntaxMode { PlainTextMode , RichTextMode } |
Detailed Description
Definition at line 63 of file k3syntaxhighlighter.h.
Constructor & Destructor Documentation
◆ K3SpellingHighlighter()
K3SpellingHighlighter::K3SpellingHighlighter | ( | Q3TextEdit * | textEdit, |
const QColor & | spellColor = Qt::red , |
||
bool | colorQuoting = false , |
||
const QColor & | QuoteColor0 = Qt::black , |
||
const QColor & | QuoteColor1 = QColor( 0x00, 0x80, 0x00 ) , |
||
const QColor & | QuoteColor2 = QColor( 0x00, 0x80, 0x00 ) , |
||
const QColor & | QuoteColor3 = QColor( 0x00, 0x80, 0x00 ) |
||
) |
Definition at line 167 of file k3syntaxhighlighter.cpp.
◆ ~K3SpellingHighlighter()
K3SpellingHighlighter::~K3SpellingHighlighter | ( | ) |
Definition at line 180 of file k3syntaxhighlighter.cpp.
Member Function Documentation
◆ highlightParagraph()
|
virtual |
Definition at line 185 of file k3syntaxhighlighter.cpp.
◆ intraWordEditing()
bool K3SpellingHighlighter::intraWordEditing | ( | ) | const |
Definition at line 405 of file k3syntaxhighlighter.cpp.
◆ isMisspelled()
|
pure virtual |
Implemented in K3DictSpellingHighlighter.
◆ personalWords()
|
static |
Definition at line 232 of file k3syntaxhighlighter.cpp.
◆ setIntraWordEditing()
void K3SpellingHighlighter::setIntraWordEditing | ( | bool | editing | ) |
Definition at line 410 of file k3syntaxhighlighter.cpp.
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.