Commit b8d30a73 authored by Laurent Montel's avatar Laurent Montel 😁

add support for selected text

parent 01cecd87
......@@ -18,7 +18,7 @@ include(KDECMakeSettings)
include(KDEFrameworkCompilerSettings NO_POLICY_SCOPE)
include(ECMAddTests)
set(PIM_VERSION "5.3.42")
set(PIM_VERSION "5.3.43")
set(KPIMTEXTEDIT_LIB_VERSION ${PIM_VERSION})
ecm_setup_version(${KPIMTEXTEDIT_LIB_VERSION} VARIABLE_PREFIX KPIMTEXTEDIT
......
......@@ -286,8 +286,9 @@ void RichTextEditor::addIgnoreWords(const QStringList &lst)
addIgnoreWordsToHighLighter();
}
void RichTextEditor::forceAutoCorrection()
void RichTextEditor::forceAutoCorrection(bool selectedText)
{
Q_UNUSED(selectedText);
//Nothing here
}
......
......@@ -93,7 +93,7 @@ public:
void addIgnoreWords(const QStringList &lst);
// Reimplement it in subclass
virtual void forceAutoCorrection();
virtual void forceAutoCorrection(bool selectedText = false);
Q_SIGNALS:
void say(const QString &text);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment