diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2011-09-02 13:39:21 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2011-09-02 13:39:21 +0400 |
commit | 7a496bfbcf3c5a25d4101cf427ca980327ed3e8a (patch) | |
tree | 25c248a5e62b4472734d9e119c3ae689bb8ac292 /source/blender/editors/space_text/text_intern.h | |
parent | 612e2d4dbe0e8dfe5b4d4fee49040ec38107ada3 (diff) |
Partial fix for #28441: Tab width in texteditor ignored if used tabs as spaces
Scroll to cursor when displaying text datablock was changed.
This behavior was lost in 2.5x.
Diffstat (limited to 'source/blender/editors/space_text/text_intern.h')
-rw-r--r-- | source/blender/editors/space_text/text_intern.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/space_text/text_intern.h b/source/blender/editors/space_text/text_intern.h index cb55f41acb5..b34c7815f35 100644 --- a/source/blender/editors/space_text/text_intern.h +++ b/source/blender/editors/space_text/text_intern.h @@ -55,6 +55,7 @@ int text_font_width(struct SpaceText *st, const char *str); void text_update_line_edited(struct TextLine *line); void text_update_edited(struct Text *text); void text_update_character_width(struct SpaceText *st); +void text_scroll_to_cursor(struct SpaceText *st, struct ScrArea *sa); void text_update_cursor_moved(struct bContext *C); /* TXT_OFFSET used to be 35 when the scrollbar was on the left... */ |