Blender
V3.3
|
Go to the source code of this file.
Classes | |
struct | SuggItem |
struct | SuggList |
Typedefs | |
typedef struct SuggItem | SuggItem |
typedef struct SuggList | SuggList |
Functions | |
void | free_texttools (void) |
void | texttool_text_set_active (struct Text *text) |
void | texttool_text_clear (void) |
short | texttool_text_is_active (struct Text *text) |
void | texttool_suggest_add (const char *name, char type) |
void | texttool_suggest_prefix (const char *prefix, int prefix_len) |
void | texttool_suggest_clear (void) |
SuggItem * | texttool_suggest_first (void) |
SuggItem * | texttool_suggest_last (void) |
void | texttool_suggest_select (SuggItem *sel) |
SuggItem * | texttool_suggest_selected (void) |
int * | texttool_suggest_top (void) |
void | texttool_docs_show (const char *docs) |
char * | texttool_docs_get (void) |
void | texttool_docs_clear (void) |
Definition at line 51 of file text_suggestions.c.
References txttl_free_docs(), and txttl_free_suggest().
Referenced by texttool_text_clear().
Definition at line 244 of file text_suggestions.c.
References txttl_free_docs().
Referenced by text_autocomplete_modal().
char* texttool_docs_get | ( | void | ) |
Definition at line 239 of file text_suggestions.c.
References documentation.
Referenced by text_autocomplete_modal().
void texttool_docs_show | ( | const char * | docs | ) |
Definition at line 214 of file text_suggestions.c.
References documentation, len, MEM_mallocN, and MEM_SAFE_FREE.
void texttool_suggest_add | ( | const char * | name, |
char | type | ||
) |
Definition at line 81 of file text_suggestions.c.
References BLI_strncasecmp(), SuggList::first, SuggList::firstmatch, SuggList::last, SuggList::lastmatch, len, MEM_mallocN, SuggItem::name, SuggItem::next, NULL, SuggItem::prev, SuggList::selected, suggestions, SuggList::top, SuggItem::type, and type.
Referenced by text_autocomplete_build().
Definition at line 180 of file text_suggestions.c.
References txttl_free_suggest().
Referenced by text_autocomplete_modal().
Definition at line 185 of file text_suggestions.c.
References SuggList::firstmatch, and suggestions.
Referenced by text_autocomplete_invoke(), text_autocomplete_modal(), text_do_suggest_select(), and text_pop_suggest_list().
Definition at line 190 of file text_suggestions.c.
References SuggList::lastmatch, and suggestions.
Referenced by text_autocomplete_invoke(), text_autocomplete_modal(), and text_do_suggest_select().
void texttool_suggest_prefix | ( | const char * | prefix, |
int | prefix_len | ||
) |
Definition at line 133 of file text_suggestions.c.
References BLI_strncasecmp(), SuggList::first, SuggList::firstmatch, SuggList::last, SuggList::lastmatch, SuggItem::name, SuggItem::next, NULL, SuggItem::prev, SuggList::selected, suggestions, SuggList::top, and top.
Referenced by get_suggest_prefix(), and text_autocomplete_build().
Definition at line 195 of file text_suggestions.c.
References SuggList::selected, and suggestions.
Referenced by text_autocomplete_modal(), and text_do_suggest_select().
Definition at line 200 of file text_suggestions.c.
References SuggList::selected, and suggestions.
Referenced by confirm_suggestion(), text_autocomplete_modal(), and text_pop_suggest_list().
int* texttool_suggest_top | ( | void | ) |
Definition at line 205 of file text_suggestions.c.
References suggestions, and SuggList::top.
Referenced by text_do_suggest_select(), and text_pop_suggest_list().
Definition at line 66 of file text_suggestions.c.
References activeToolText, free_texttools(), and NULL.
Referenced by confirm_suggestion(), text_autocomplete_build(), text_autocomplete_free(), and texttool_text_set_active().
short texttool_text_is_active | ( | struct Text * | text | ) |
Definition at line 72 of file text_suggestions.c.
References activeToolText.
Referenced by confirm_suggestion(), get_suggest_prefix(), text_autocomplete_modal(), and text_do_suggest_select().
Definition at line 57 of file text_suggestions.c.
References activeToolText, and texttool_text_clear().
Referenced by text_autocomplete_build().