From a0a572ce8b59d84d4ac632b099adae0e20c3f670 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Tue, 15 Mar 2022 17:29:54 +1100 Subject: Cleanup: correct unbalanced doxy sections --- source/blender/editors/space_text/text_draw.c | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'source/blender/editors/space_text/text_draw.c') diff --git a/source/blender/editors/space_text/text_draw.c b/source/blender/editors/space_text/text_draw.c index d3fc3e9d352..36eafedbc80 100644 --- a/source/blender/editors/space_text/text_draw.c +++ b/source/blender/editors/space_text/text_draw.c @@ -147,11 +147,10 @@ static void format_draw_color(const TextDrawContext *tdc, char formatchar) /* -------------------------------------------------------------------- */ /** \name Draw Text - * \{ */ - -/** - * Notes on word-wrap - * -- + * + * Notes on Word-Wrap + * ================== + * * All word-wrap functions follow the algorithm below to maintain consistency: * - line: * The line to wrap (tabs converted to spaces) @@ -176,7 +175,8 @@ static void format_draw_color(const TextDrawContext *tdc, char formatchar) * pos += 1 * print line[draw_start:] * \encode - */ + * + * \{ */ int wrap_width(const SpaceText *st, ARegion *region) { @@ -1031,6 +1031,7 @@ static void draw_textscroll(const SpaceText *st, rcti *scroll, rcti *back) * \{ */ #if 0 + static void draw_documentation(const SpaceText *st, ARegion *region) { TextDrawContext tdc = {0}; @@ -1138,6 +1139,7 @@ static void draw_documentation(const SpaceText *st, ARegion *region) } } } + #endif /** \} */ -- cgit v1.2.3