diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-12-08 16:55:11 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-12-08 17:14:10 +0300 |
commit | 61776befc3f88c373e47ccbdf8c75e2ca0f4e987 (patch) | |
tree | 0214b7c5146300d41b7bcbe99f87c92599608e7f /source/blender/editors/space_text/text_draw.c | |
parent | 8f1997975dc60bc1c18992458603ecd58dfded6d (diff) |
Cleanup: move public doc-strings into headers for 'editors'
Ref T92709
Diffstat (limited to 'source/blender/editors/space_text/text_draw.c')
-rw-r--r-- | source/blender/editors/space_text/text_draw.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/source/blender/editors/space_text/text_draw.c b/source/blender/editors/space_text/text_draw.c index 589a8859eeb..8fb55ed9b46 100644 --- a/source/blender/editors/space_text/text_draw.c +++ b/source/blender/editors/space_text/text_draw.c @@ -200,7 +200,6 @@ int wrap_width(const SpaceText *st, ARegion *region) return max > 8 ? max : 8; } -/* Sets (offl, offc) for transforming (line, curs) to its wrapped position */ void wrap_offset( const SpaceText *st, ARegion *region, TextLine *linein, int cursin, int *offl, int *offc) { @@ -305,7 +304,6 @@ void wrap_offset( } } -/* cursin - mem, offc - view */ void wrap_offset_in_line( const SpaceText *st, ARegion *region, TextLine *linein, int cursin, int *offl, int *offc) { @@ -1754,8 +1752,6 @@ bool ED_text_activate_in_screen(bContext *C, Text *text) return false; } -/* Moves the view to the cursor location, - * also used to make sure the view isn't outside the file */ void ED_text_scroll_to_cursor(SpaceText *st, ARegion *region, const bool center) { Text *text; @@ -1823,7 +1819,6 @@ void ED_text_scroll_to_cursor(SpaceText *st, ARegion *region, const bool center) st->runtime.scroll_ofs_px[1] = 0; } -/* takes an area instead of a region, use for listeners */ void text_scroll_to_cursor__area(SpaceText *st, ScrArea *area, const bool center) { ARegion *region; @@ -1847,9 +1842,6 @@ void text_update_cursor_moved(bContext *C) text_scroll_to_cursor__area(st, area, true); } -/** - * Takes a cursor (row, character) and returns x,y pixel coords. - */ bool ED_text_region_location_from_cursor(SpaceText *st, ARegion *region, const int cursor_co[2], |