diff options
author | Nikolai Kosjar <nikolai.kosjar@digia.com> | 2013-09-18 09:07:21 +0200 |
---|---|---|
committer | Nikolai Kosjar <nikolai.kosjar@digia.com> | 2013-10-01 14:04:06 +0200 |
commit | 3a64f8a344b1c702f66331a4fa21807f0a017762 (patch) | |
tree | 6d3dbd7cd934757c429c5bd1421c10ea929296c3 /src/plugins/glsleditor/glslcompletionassist.cpp | |
parent | 0eb0f54480f47ca912e0f943fb8b7bf93f11b498 (diff) | |
download | qt-creator-3a64f8a344b1c702f66331a4fa21807f0a017762.tar.gz |
TextEditor: CodeAssist: Allow immediate proposals
Immediate proposals are displayed for asynchronous providers and fragile
proposals.
The idea is to show already available results immediately. The proposal
calculated in the process runner can then replace the immediate
proposal.
Change-Id: I7903e6677c9dfeb4957eb416062fff1fb01ff23f
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Diffstat (limited to 'src/plugins/glsleditor/glslcompletionassist.cpp')
-rw-r--r-- | src/plugins/glsleditor/glslcompletionassist.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/plugins/glsleditor/glslcompletionassist.cpp b/src/plugins/glsleditor/glslcompletionassist.cpp index f5ecd2c983..768bd0b149 100644 --- a/src/plugins/glsleditor/glslcompletionassist.cpp +++ b/src/plugins/glsleditor/glslcompletionassist.cpp @@ -214,6 +214,11 @@ GLSLCompletionAssistProcessor::GLSLCompletionAssistProcessor() GLSLCompletionAssistProcessor::~GLSLCompletionAssistProcessor() {} +IAssistProposal *GLSLCompletionAssistProcessor::immediateProposal(const IAssistInterface *) +{ + return 0; +} + IAssistProposal *GLSLCompletionAssistProcessor::perform(const IAssistInterface *interface) { m_interface.reset(static_cast<const GLSLCompletionAssistInterface *>(interface)); |