Top | ![]() |
![]() |
![]() |
![]() |
AnjutaLanguageProposalData *
anjuta_language_proposal_data_new (gchar *name
);
void
anjuta_language_proposal_data_free (AnjutaLanguageProposalData *data
);
Free the given proposal data
void anjuta_language_provider_install (AnjutaLanguageProvider *lang_prov
,IAnjutaEditor *ieditor
,GSettings *settings
);
Install the settings for AnjutaLanguageProvider
gchar * anjuta_language_provider_get_pre_word (AnjutaLanguageProvider *lang_prov
,IAnjutaEditor *editor
,IAnjutaIterable *iter
,IAnjutaIterable **start_iter
,const gchar *word_characters
);
Search for the current typed word
gchar * anjuta_language_provider_get_calltip_context (AnjutaLanguageProvider *lang_prov
,IAnjutaEditorTip *itip
,IAnjutaIterable *iter
,const gchar *scope_context_ch
);
Searches for a calltip context
void anjuta_language_provider_activate (AnjutaLanguageProvider *lang_prov
,IAnjutaProvider *iprov
,IAnjutaIterable *iter
,gpointer data
);
Complete the function name
void anjuta_language_provider_populate (AnjutaLanguageProvider *lang_prov
,IAnjutaProvider *iprov
,IAnjutaIterable *cursor
);
Show completion for the context at position iter
. The provider should
call anjuta_language_provider_proposals here to add proposals to the list.
void anjuta_language_provider_proposals (AnjutaLanguageProvider *lang_prov
,IAnjutaProvider *iprov
,GList *proposals
,const gchar *pre_word
,gboolean finished
);
Add the list of proposals for the current population. You can add
proposals async as long as the last call sets finished to TRUE. That
is usually called by the IAnjutaLanguageProvider after it was triggered by
ianjuta_language_provider_populate_completions()
lang_prov |
Self |
|
iprov |
IAnjutaProvider object. |
[type GObject] |
proposals |
a list of IAnjutaProposals. |
[element-type IAnjutaEditorAssistProposal] |
pre_word |
the word before the cursor |
|
finished |
whether is was the last call in an async operation |
IAnjutaIterable *
anjuta_language_provider_get_start_iter
(AnjutaLanguageProvider *lang_prov
);
struct AnjutaLanguageProposalData { gchar* name; gchar* info; gboolean is_func; gboolean has_para; IAnjutaSymbolType type; };
Name of the object |
||
Info about the object |
||
If this is a function |
||
If the function has at least one parameters |
||
IAnjutaSymbolType |
Type of the object |