Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <campbell@blender.org>2022-03-15 09:29:54 +0300
committerCampbell Barton <campbell@blender.org>2022-03-15 09:29:54 +0300
commita0a572ce8b59d84d4ac632b099adae0e20c3f670 (patch)
tree12965acc42503169b58f81c92f2e74066a9e0409 /source/blender/editors/space_text/text_draw.c
parent683c130b06110949f2c6fcfd92084d61294ff742 (diff)
Cleanup: correct unbalanced doxy sections
Diffstat (limited to 'source/blender/editors/space_text/text_draw.c')
-rw-r--r--source/blender/editors/space_text/text_draw.c14
1 files changed, 8 insertions, 6 deletions
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
/** \} */