diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-11-22 05:29:25 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-11-22 05:32:57 +0300 |
commit | 35f2e4a35c32acafaa4c1a7f7d639536e87487ff (patch) | |
tree | 58ef164fba73e561ad979307363e64221e47b980 /source/blender/editors/space_text | |
parent | 340364557594206deec40356d719e51344253fe6 (diff) |
Cleanup: BKE_suggestions -> BKE_text_suggestions
The term suggestions on it's own is too ambiguous, use BKE_text prefix.
Diffstat (limited to 'source/blender/editors/space_text')
-rw-r--r-- | source/blender/editors/space_text/text_autocomplete.c | 19 | ||||
-rw-r--r-- | source/blender/editors/space_text/text_draw.c | 2 |
2 files changed, 16 insertions, 5 deletions
diff --git a/source/blender/editors/space_text/text_autocomplete.c b/source/blender/editors/space_text/text_autocomplete.c index a4531284e1a..9b10f9831a5 100644 --- a/source/blender/editors/space_text/text_autocomplete.c +++ b/source/blender/editors/space_text/text_autocomplete.c @@ -30,8 +30,8 @@ #include "BKE_context.h" #include "BKE_text.h" +#include "BKE_text_suggestions.h" #include "BKE_screen.h" -#include "BKE_suggestions.h" #include "WM_api.h" #include "WM_types.h" @@ -46,7 +46,8 @@ #include "text_intern.h" /* own include */ /* -------------------------------------------------------------------- */ -/* Public API */ +/** \name Public API + * \{ */ int text_do_suggest_select(SpaceText *st, ARegion *ar) { @@ -136,8 +137,11 @@ void text_pop_suggest_list(void) } } +/** \} */ + /* -------------------------------------------------------------------- */ -/* Private API */ +/** \name Private API + * \{ */ static void text_autocomplete_free(bContext *C, wmOperator *op); @@ -288,7 +292,12 @@ static void confirm_suggestion(Text *text) texttool_text_clear(); } -/* -- */ +/** \} */ + +/* -------------------------------------------------------------------- */ +/** \name Auto Complete Operator + * + * \{ */ static int text_autocomplete_invoke(bContext *C, wmOperator *op, const wmEvent *UNUSED(event)) { @@ -625,3 +634,5 @@ void TEXT_OT_autocomplete(wmOperatorType *ot) /* Undo is handled conditionally by this operator. */ ot->flag = OPTYPE_BLOCKING; } + +/** \} */ diff --git a/source/blender/editors/space_text/text_draw.c b/source/blender/editors/space_text/text_draw.c index 278d5dad808..816bbca4afa 100644 --- a/source/blender/editors/space_text/text_draw.c +++ b/source/blender/editors/space_text/text_draw.c @@ -32,8 +32,8 @@ #include "DNA_screen_types.h" #include "BKE_context.h" -#include "BKE_suggestions.h" #include "BKE_text.h" +#include "BKE_text_suggestions.h" #include "BKE_screen.h" #include "ED_text.h" |