KTextEditor
codecompletioninterface.h
Go to the documentation of this file.
146 //void completionExecuted(KTextEditor::View* view, const KTextEditor::Cursor& position, KTextEditor::CodeCompletionModel* model, int row);
152Q_DECLARE_INTERFACE(KTextEditor::CodeCompletionInterface, "org.kde.KTextEditor.CodeCompletionInterface")
Code completion extension interface for the View.
Definition: codecompletioninterface.h:93
virtual void forceCompletion()=0
Force execution of the currently selected completion, and hide the code completion box.
virtual bool isAutomaticInvocationEnabled() const =0
Determine the status of automatic code completion invocation.
virtual void registerCompletionModel(CodeCompletionModel *model)=0
Register a new code completion model.
virtual bool isCompletionActive() const =0
Query whether the code completion box is currently displayed.
virtual void setAutomaticInvocationEnabled(bool enabled=true)=0
Enable or disable automatic code completion invocation.
virtual void abortCompletion()=0
Abort the currently displayed code completion without executing any currently selected completion.
virtual void unregisterCompletionModel(CodeCompletionModel *model)=0
Unregister a code completion model.
virtual void startCompletion(const Range &word, CodeCompletionModel *model)=0
Invoke code completion over a given range, with a specific model.
An item model for providing code completion, and meta information for enhanced presentation.
Definition: codecompletionmodel.h:78
An object representing a section of text, from one Cursor to another.
Definition: range.h:55
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.