KTextEditor
KTextEditor::CodeCompletionModelControllerInterface2 Class Reference
#include <codecompletionmodelcontrollerinterface.h>
Inheritance diagram for KTextEditor::CodeCompletionModelControllerInterface2:
Public Types | |
enum | MatchReaction { None, HideListIfAutomaticInvocation } |
Public Member Functions | |
virtual MatchReaction | matchingItem (const QModelIndex &matched) |
Public Member Functions inherited from KTextEditor::CodeCompletionModelControllerInterface | |
CodeCompletionModelControllerInterface () | |
virtual | ~CodeCompletionModelControllerInterface () |
virtual void | aborted (View *view) |
virtual Range | completionRange (View *view, const Cursor &position) |
virtual QString | filterString (View *view, const SmartRange &range, const Cursor &position) |
virtual bool | shouldAbortCompletion (View *view, const SmartRange &range, const QString ¤tCompletion) |
virtual bool | shouldExecute (const QModelIndex &selected, QChar inserted) |
virtual bool | shouldStartCompletion (View *view, const QString &insertedText, bool userInsertion, const Cursor &position) |
virtual void | updateCompletionRange (View *view, SmartRange &range) |
Detailed Description
Extension of CodeCompletionModelControllerInterface.
Definition at line 170 of file codecompletionmodelcontrollerinterface.h.
Member Enumeration Documentation
Enumerator | |
---|---|
None | |
HideListIfAutomaticInvocation |
If this is returned, the completion-list is hidden if it was invoked automatically. |
Definition at line 172 of file codecompletionmodelcontrollerinterface.h.
Member Function Documentation
|
virtual |
Called whenever an item in the completion-list perfectly matches the current filter text.
- Parameters
-
The index that is matched
- Returns
- Whether the completion-list should be hidden on this event. The default-implementation always returns HideListIfAutomaticInvocation
Definition at line 110 of file codecompletionmodelcontrollerinterface.cpp.
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:52:20 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:52:20 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.