14 #ifndef T3_WIDGET_WRAPINFO_H
15 #define T3_WIDGET_WRAPINFO_H
19 #include <t3widget/util.h>
20 #include <t3widget/textbuffer.h>
24 typedef std::vector<int> wrap_points_t;
25 typedef std::vector<wrap_points_t *> wrap_data_t;
37 wrap_data_t wrap_data;
42 signals::connection rewrap_connection;
44 void delete_lines(
int first,
int last);
45 void insert_lines(
int first,
int last);
46 void rewrap_line(
int line,
int pos,
bool force);
47 void rewrap_all(
void);
48 void rewrap(rewrap_type_t type,
int a,
int b);
53 int get_size(
void)
const;
54 int get_text_size(
void)
const;
56 void set_wrap_width(
int width);
57 void set_tabsize(
int _tabsize);
62 int get_line_count(
int line)
const;
65 int calculate_screen_pos(
void)
const;
67 int calculate_line_pos(
int line,
int pos,
int subline)
const;
Definition: textbuffer.h:34
Definition: textline.h:48