summaryrefslogtreecommitdiff
path: root/src/plugins/glsleditor/glsleditor.h
diff options
context:
space:
mode:
authorLeandro Melo <leandro.melo@nokia.com>2011-04-15 16:19:23 +0200
committerLeandro Melo <leandro.melo@nokia.com>2011-05-18 10:46:20 +0200
commitbec4f02495b97b17e0b0f8cb67d0909634c16228 (patch)
tree21759e0b9ebc6b0dca84f01875223020665d7843 /src/plugins/glsleditor/glsleditor.h
parentd835b769c7d6b37e59a8a74a0d68260d34e7a7f9 (diff)
downloadqt-creator-bec4f02495b97b17e0b0f8cb67d0909634c16228.tar.gz
New code assist API
This is a re-work of our completion engine. Primary goals are: - Allow the computation to run in a separate thread so the GUI is not locked. - Support a model-based approach. QStrings are still needed (filtering, etc), but internal structures are free to use more efficient representations. - Unifiy all kinds of *assist* into a more reusable and extensible framework. - Remove unnecessary dependencies on the text editor so we have more generic and easily "plugable" components (still things to be resolved).
Diffstat (limited to 'src/plugins/glsleditor/glsleditor.h')
-rw-r--r--src/plugins/glsleditor/glsleditor.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/glsleditor/glsleditor.h b/src/plugins/glsleditor/glsleditor.h
index 8c5712d9be..ba228f4c22 100644
--- a/src/plugins/glsleditor/glsleditor.h
+++ b/src/plugins/glsleditor/glsleditor.h
@@ -104,6 +104,9 @@ public:
Document::Ptr glslDocument() const;
+ TextEditor::IAssistInterface *createAssistInterface(TextEditor::AssistKind assistKind,
+ TextEditor::AssistReason reason) const;
+
public slots:
virtual void setFontSettings(const TextEditor::FontSettings &);