diff options
Diffstat (limited to 'source/blender/editors/space_text/text_intern.h')
-rw-r--r-- | source/blender/editors/space_text/text_intern.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/source/blender/editors/space_text/text_intern.h b/source/blender/editors/space_text/text_intern.h index 1a36b21952b..5ad6a554188 100644 --- a/source/blender/editors/space_text/text_intern.h +++ b/source/blender/editors/space_text/text_intern.h @@ -35,12 +35,12 @@ struct bContext; struct wmOperatorType; /* text_draw.c */ -void draw_text_main(struct SpaceText *st, struct ARegion *ar); +void draw_text_main(struct SpaceText *st, struct ARegion *region); 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 ARegion *ar, const bool center); +void text_scroll_to_cursor(struct SpaceText *st, struct ARegion *region, const bool center); void text_scroll_to_cursor__area(struct SpaceText *st, struct ScrArea *sa, const bool center); void text_update_cursor_moved(struct bContext *C); @@ -74,15 +74,15 @@ void text_update_cursor_moved(struct bContext *C); #define TOOL_SUGG_LIST 0x01 #define TOOL_DOCUMENT 0x02 -int wrap_width(const struct SpaceText *st, struct ARegion *ar); +int wrap_width(const struct SpaceText *st, struct ARegion *region); void wrap_offset(const struct SpaceText *st, - struct ARegion *ar, + struct ARegion *region, struct TextLine *linein, int cursin, int *offl, int *offc); void wrap_offset_in_line(const struct SpaceText *st, - struct ARegion *ar, + struct ARegion *region, struct TextLine *linep, int cursin, int *offl, @@ -92,15 +92,15 @@ int text_get_char_pos(const struct SpaceText *st, const char *line, int cur); void text_drawcache_tag_update(struct SpaceText *st, int full); void text_free_caches(struct SpaceText *st); -int text_do_suggest_select(struct SpaceText *st, struct ARegion *ar); +int text_do_suggest_select(struct SpaceText *st, struct ARegion *region); void text_pop_suggest_list(void); -int text_get_visible_lines(const struct SpaceText *st, struct ARegion *ar, const char *str); +int text_get_visible_lines(const struct SpaceText *st, struct ARegion *region, const char *str); int text_get_span_wrap(const struct SpaceText *st, - struct ARegion *ar, + struct ARegion *region, struct TextLine *from, struct TextLine *to); -int text_get_total_lines(struct SpaceText *st, struct ARegion *ar); +int text_get_total_lines(struct SpaceText *st, struct ARegion *region); /* text_ops.c */ enum { |