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 <ideasman42@gmail.com>2010-12-03 00:48:46 +0300
committerCampbell Barton <ideasman42@gmail.com>2010-12-03 00:48:46 +0300
commit287325af35bf41890512af491b4c5f9a5f31c809 (patch)
tree7aff5d4ffc34ab42a51c53b4119f9c43520ff31e /source/blender/editors/space_info/textview.h
parentde0b41588ae34962f66b6dc35010a613bb311423 (diff)
fix [#24586] Report mode of console does not show proper cariage returns.
use the line iterator to split up newlines.
Diffstat (limited to 'source/blender/editors/space_info/textview.h')
-rw-r--r--source/blender/editors/space_info/textview.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/editors/space_info/textview.h b/source/blender/editors/space_info/textview.h
index 390f9f5ed7c..aeea12827be 100644
--- a/source/blender/editors/space_info/textview.h
+++ b/source/blender/editors/space_info/textview.h
@@ -45,6 +45,9 @@ typedef struct TextViewContext {
int (*line_color)(struct TextViewContext *tvc, unsigned char fg[3], unsigned char bg[3]);
void *iter;
int iter_index;
+ int iter_char; /* char intex, used for multi-line report display */
+ int iter_char_next; /* same as above, next \n */
+ int iter_tmp; /* internal iterator use */
} TextViewContext;