KDECore
filter.cpp
Go to the documentation of this file.
266 && (m_buffer.at( ++currentPosition ) == QLatin1Char('/') || ( currentPosition + 1 ) >= length ) ) {
Filter is used to split text into words which will be spell checked.
Definition: filter_p.h:66
virtual Word wordAtPosition(unsigned int pos) const
Definition: filter.cpp:188
virtual QString context() const
Should return the sentence containing the current word.
Definition: filter.cpp:226
virtual void replace(const Word &w, const QString &newWord)
Definition: filter.cpp:215
bool shouldBeSkipped(bool wordWasUppercase, bool wordWasRunTogether, const QString &foundWord) const
Definition: filter.cpp:291
static bool finderWordAt(QTextBoundaryFinder &finder, int at, QString &word, int &bufferStart)
Definition: filter.cpp:145
static bool finderNextWord(QTextBoundaryFinder &finder, QString &word, int &bufferStart)
Definition: filter.cpp:116
Structure abstracts the word and its position in the parent text.
Definition: filter_p.h:41
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.