Kate
katewordcompletion.h
Go to the documentation of this file.
39 class KATEPART_TESTS_EXPORT KateWordCompletionModel : public KTextEditor::CodeCompletionModel2, public KTextEditor::CodeCompletionModelControllerInterface4
57 void completionInvoked(KTextEditor::View* view, const KTextEditor::Range& range, InvocationType invocationType);
59 bool shouldStartCompletion(KTextEditor::View* view, const QString &insertedText, bool userInsertion, const KTextEditor::Cursor &position);
60 bool shouldAbortCompletion(KTextEditor::View* view, const KTextEditor::Range &range, const QString ¤tCompletion);
72 virtual KTextEditor::Range completionRange(KTextEditor::View* view, const KTextEditor::Cursor &position);
78 virtual void executeCompletionItem2(KTextEditor::Document* document, const KTextEditor::Range& word, const QModelIndex& index) const;
virtual QModelIndex parent(const QModelIndex &index) const
InvocationType
virtual void completionInvoked(KTextEditor::View *view, const KTextEditor::Range &range, InvocationType invocationType)
virtual void executeCompletionItem2(Document *document, const Range &word, const QModelIndex &index) const
~KateWordCompletionView()
Definition: katewordcompletion.cpp:362
virtual int rowCount(const QModelIndex &parent=QModelIndex()) const
Extension of CodeCompletionModelControllerInterface3.
Definition: codecompletionmodelcontrollerinterfacev4.h:32
virtual MatchReaction matchingItem(const QModelIndex &matched)
Definition: katewordcompletion.h:85
virtual bool shouldAbortCompletion(View *view, const Range &range, const QString ¤tCompletion)
Definition: katewordcompletion.h:39
virtual QModelIndex index(int row, int column, const QModelIndex &parent=QModelIndex()) const
virtual bool shouldStartCompletion(View *view, const QString &insertedText, bool userInsertion, const Cursor &position)
KateWordCompletionView(KTextEditor::View *view, KActionCollection *ac)
Definition: katewordcompletion.cpp:320
virtual Range completionRange(View *view, const Cursor &position)
virtual bool shouldHideItemsWithEqualNames() const
When multiple completion models are used at the same time, it may happen that multiple models add ite...
Definition: codecompletionmodelcontrollerinterfacev4.cpp:25
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:31:53 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:31:53 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.