KTextEditor
codecompletionmodelcontrollerinterface.cpp
Go to the documentation of this file.
39 bool CodeCompletionModelControllerInterface::shouldStartCompletion(View* view, const QString &insertedText, bool userInsertion, const Cursor &position)
54 Range CodeCompletionModelControllerInterface::completionRange(View* view, const Cursor &position)
75 void CodeCompletionModelControllerInterface::updateCompletionRange(View* view, SmartRange& range)
78 if(!range.text().isEmpty() && range.text().count() == 1 && range.text().first().trimmed().isEmpty())
83 QString CodeCompletionModelControllerInterface::filterString(View* view, const SmartRange &range, const Cursor &position)
88 bool CodeCompletionModelControllerInterface::shouldAbortCompletion(View* view, const SmartRange &range, const QString ¤tCompletion)
94 //Do not abort completions when the text has been empty already before and a newline has been entered
104 bool CodeCompletionModelControllerInterface::shouldExecute(const QModelIndex& index, QChar inserted) {
110 KTextEditor::CodeCompletionModelControllerInterface2::MatchReaction CodeCompletionModelControllerInterface2::matchingItem(const QModelIndex& selected) {
127 bool CodeCompletionModelControllerInterface3::shouldStartCompletion(View* view, const QString &insertedText, bool userInsertion, const Cursor &position)
142 Range CodeCompletionModelControllerInterface3::completionRange(View* view, const Cursor &position)
163 Range CodeCompletionModelControllerInterface3::updateCompletionRange(View* view, const Range& range)
173 QString CodeCompletionModelControllerInterface3::filterString(View* view, const Range &range, const Cursor &position)
178 bool CodeCompletionModelControllerInterface3::shouldAbortCompletion(View* view, const Range &range, const QString ¤tCompletion)
184 //Do not abort completions when the text has been empty already before and a newline has been entered
194 bool CodeCompletionModelControllerInterface3::shouldExecute(const QModelIndex& index, QChar inserted) {
200 KTextEditor::CodeCompletionModelControllerInterface3::MatchReaction CodeCompletionModelControllerInterface3::matchingItem(const QModelIndex& selected) {
This file is part of the KDE documentation.
Documentation copyright © 1996-2013 The KDE developers.
Generated on Sat Jun 1 2013 20:23:41 by doxygen 1.8.3.1 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2013 The KDE developers.
Generated on Sat Jun 1 2013 20:23:41 by doxygen 1.8.3.1 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.