Kate
#include <spellcheck.h>
Public Member Functions | |
KateSpellCheckManager (QObject *parent=NULL) | |
virtual | ~KateSpellCheckManager () |
void | addToDictionary (const QString &word, const QString &dictionary) |
void | ignoreWord (const QString &word, const QString &dictionary) |
void | replaceCharactersEncodedIfNecessary (const QString &newWord, KateDocument *doc, const KTextEditor::Range &replacementRange) |
QList< QPair < KTextEditor::Range, QString > > | spellCheckLanguageRanges (KateDocument *doc, const KTextEditor::Range &range) |
QList< QPair < KTextEditor::Range, QString > > | spellCheckRanges (KateDocument *doc, const KTextEditor::Range &range, bool singleLine=false) |
QList< QPair < KTextEditor::Range, QString > > | spellCheckWrtHighlightingRanges (KateDocument *doc, const KTextEditor::Range &range, const QString &dictionary=QString(), bool singleLine=false, bool returnSingleRange=false) |
QStringList | suggestions (const QString &word, const QString &dictionary) |
Static Public Member Functions | |
static QList< KTextEditor::Range > | rangeDifference (const KTextEditor::Range &r1, const KTextEditor::Range &r2) |
Detailed Description
Definition at line 36 of file spellcheck.h.
Constructor & Destructor Documentation
KateSpellCheckManager::KateSpellCheckManager | ( | QObject * | parent = NULL | ) |
Definition at line 38 of file spellcheck.cpp.
|
virtual |
Definition at line 43 of file spellcheck.cpp.
Member Function Documentation
Definition at line 61 of file spellcheck.cpp.
Definition at line 54 of file spellcheck.cpp.
|
static |
'r2' is a subrange of 'r1', which is extracted from 'r1' and the remaining ranges are returned
Definition at line 68 of file spellcheck.cpp.
void KateSpellCheckManager::replaceCharactersEncodedIfNecessary | ( | const QString & | newWord, |
KateDocument * | doc, | ||
const KTextEditor::Range & | replacementRange | ||
) |
Definition at line 239 of file spellcheck.cpp.
QList< QPair< KTextEditor::Range, QString > > KateSpellCheckManager::spellCheckLanguageRanges | ( | KateDocument * | doc, |
const KTextEditor::Range & | range | ||
) |
Definition at line 92 of file spellcheck.cpp.
QList< QPair< KTextEditor::Range, QString > > KateSpellCheckManager::spellCheckRanges | ( | KateDocument * | doc, |
const KTextEditor::Range & | range, | ||
bool | singleLine = false |
||
) |
Definition at line 226 of file spellcheck.cpp.
QList< QPair< KTextEditor::Range, QString > > KateSpellCheckManager::spellCheckWrtHighlightingRanges | ( | KateDocument * | doc, |
const KTextEditor::Range & | range, | ||
const QString & | dictionary = QString() , |
||
bool | singleLine = false , |
||
bool | returnSingleRange = false |
||
) |
Definition at line 129 of file spellcheck.cpp.
QStringList KateSpellCheckManager::suggestions | ( | const QString & | word, |
const QString & | dictionary | ||
) |
Definition at line 47 of file spellcheck.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:31:54 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.