Top |
Functions
Functions
anjuta_language_proposal_data_new ()
AnjutaLanguageProposalData *
anjuta_language_proposal_data_new (gchar *name
);
anjuta_language_proposal_data_free ()
void
anjuta_language_proposal_data_free (AnjutaLanguageProposalData *data
);
Free the given proposal data
anjuta_language_provider_install ()
void anjuta_language_provider_install (AnjutaLanguageProvider *lang_prov
,IAnjutaEditor *ieditor
,GSettings *settings
);
Install the settings for AnjutaLanguageProvider
anjuta_language_provider_get_pre_word ()
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
anjuta_language_provider_get_calltip_context ()
gchar * anjuta_language_provider_get_calltip_context (AnjutaLanguageProvider *lang_prov
,IAnjutaEditorTip *itip
,IAnjutaIterable *iter
,const gchar *scope_context_ch
);
Searches for a calltip context
anjuta_language_provider_activate ()
void anjuta_language_provider_activate (AnjutaLanguageProvider *lang_prov
,IAnjutaProvider *iprov
,IAnjutaIterable *iter
,gpointer data
);
Complete the function name
anjuta_language_provider_populate ()
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.
anjuta_language_provider_proposals ()
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()
Parameters
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 |
anjuta_language_provider_get_start_iter ()
IAnjutaIterable *
anjuta_language_provider_get_start_iter
(AnjutaLanguageProvider *lang_prov
);
Types and Values
struct AnjutaLanguageProposalData
struct AnjutaLanguageProposalData { gchar* name; gchar* info; gboolean is_func; gboolean has_para; IAnjutaSymbolType type; };
Members
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 |