|
libt3widget
|
Class holding information about wrapping a text_buffer_t. More...
Public Member Functions | |
| bool | add_lines (text_coordinate_t &coord, int count) const |
| int | calculate_line_pos (int line, int pos, int subline) const |
| int | calculate_screen_pos (void) const |
| int | calculate_screen_pos (const text_coordinate_t *where) const |
| int | find_line (text_coordinate_t coord) const |
| text_coordinate_t | get_end (void) const |
| int | get_line_count (int line) const |
| int | get_size (void) const |
| int | get_text_size (void) const |
| void | paint_line (t3_window_t *win, text_coordinate_t line, text_line_t::paint_info_t *info) const |
| void | set_tabsize (int _tabsize) |
| void | set_text_buffer (text_buffer_t *_text) |
| void | set_wrap_width (int width) |
| bool | sub_lines (text_coordinate_t &coord, int count) const |
| wrap_info_t (int width, int tabsize=8) | |
Class holding information about wrapping a text_buffer_t.
This class is required by edit_window_t and text_buffer_t to present the user with a wrapped text. Except for in the function find_line, it uses the text_coordinate_t class in a special way: the pos field is used to store the index in the array of wrap points for the line indicated by the line field.
1.8.6