From 36b9262e1481fc24d302b58f03006e733b2e6d16 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Sat, 23 May 2020 18:39:25 +0100 Subject: split selection redraw into content handler specific implementations --- content/handlers/text/textplain.h | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'content/handlers/text/textplain.h') diff --git a/content/handlers/text/textplain.h b/content/handlers/text/textplain.h index 716397acc..206c5831e 100644 --- a/content/handlers/text/textplain.h +++ b/content/handlers/text/textplain.h @@ -46,19 +46,6 @@ nserror textplain_init(void); size_t textplain_size(struct content *c); -/** - * Given a range of byte offsets within a UTF8 textplain content, - * return a box that fully encloses the text - * - * \param[in] c content of type CONTENT_TEXTPLAIN - * \param[in] start byte offset of start of text range - * \param[in] end byte offset of end - * \param[out] r rectangle to be completed - */ -void textplain_coords_from_range(struct content *c, - unsigned start, unsigned end, struct rect *r); - - /** * Return a pointer to the raw UTF-8 data, as opposed to the reformatted * text to fit the window width. Thus only hard newlines are preserved -- cgit v1.2.3