NetSurf
|
HTML text selection handling. More...
Go to the source code of this file.
Functions | |
nserror | html_textselection_redraw (struct content *c, unsigned start_idx, unsigned end_idx) |
nserror | html_textselection_copy (struct content *c, unsigned start_idx, unsigned end_idx, struct selection_string *selstr) |
nserror | html_textselection_get_end (struct content *c, unsigned *end_idx) |
get maximum index of text section. More... | |
HTML text selection handling.
Definition in file textselection.h.
nserror html_textselection_copy | ( | struct content * | c, |
unsigned | start_idx, | ||
unsigned | end_idx, | ||
struct selection_string * | selstr | ||
) |
Definition at line 507 of file textselection.c.
References html_content::layout, NSERROR_INVALID, selection_copy(), html_content::unit_len_ctx, and WHITESPACE_NONE.
get maximum index of text section.
[in] | c | The content to measure |
[out] | end_idx | pointer to value to recive result |
Definition at line 533 of file textselection.c.
References html_content::layout, NSERROR_INVALID, NSERROR_OK, and selection_label_subtree().
Definition at line 474 of file textselection.c.
References content__request_redraw(), coords_from_range(), rdw_info::inited, html_content::layout, NSERROR_INVALID, NSERROR_OK, rdw_info::r, rect::x0, rect::x1, rect::y0, and rect::y1.