The instance autocomplete provider, managers which autocompleters are available for the given editor. More...
#include <textautocompleteprovider.h>
Public Member Functions | |
TextAutoCompleteProviderList (TextAutoCompleteProvider *parentProvider=0) | |
virtual | ~TextAutoCompleteProviderList () |
virtual QList< TextAutoCompleteItem * > | findAutoCompleteItemsForRange (TextDocument *document, const TextRange &range, const QString &word) |
builds an auto-complete list by querying all providers | |
virtual void | giveProvider (TextAutoCompleteProvider *provider) |
adds a provider | |
virtual void | setParentProvider (TextAutoCompleteProvider *provider) |
set the parent provider | |
![]() | |
virtual | ~TextAutoCompleteProvider () |
Protected Attributes | |
QList< TextAutoCompleteProvider * > | providerList_ |
The autocomplete provider list. | |
TextAutoCompleteProvider * | parentProviderRef_ |
A reference to the global autocomplete provider. | |
The instance autocomplete provider, managers which autocompleters are available for the given editor.
The idea is the following TextDocument -> TextAutoCompleteProvider -> Static provider for the current editor -> Dynamic document content autocompletion provider -> Reference to Global autocompletion -> .. add custom local providers.. Edbee -> TextAutoCompleteManager -> plain text autocomplete provider global -> Scope Autocompleter -> .. add custom global providers ..
edbee::TextAutoCompleteProviderList::TextAutoCompleteProviderList | ( | TextAutoCompleteProvider * | parentProvider = 0 | ) |
|
virtual |
|
virtual |
builds an auto-complete list by querying all providers
Implements edbee::TextAutoCompleteProvider.
|
virtual |
adds a provider
|
virtual |
set the parent provider
|
protected |
A reference to the global autocomplete provider.
|
protected |
The autocomplete provider list.