From e65e41e2d6efccba983cd63aadfb10b5b4a935b2 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Sat, 23 May 2020 20:38:41 +0100 Subject: move content handler specific selection copying into handlers --- content/handlers/text/textplain.h | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'content/handlers/text/textplain.h') diff --git a/content/handlers/text/textplain.h b/content/handlers/text/textplain.h index 206c5831e..b94ee33d3 100644 --- a/content/handlers/text/textplain.h +++ b/content/handlers/text/textplain.h @@ -46,18 +46,4 @@ nserror textplain_init(void); size_t textplain_size(struct content *c); -/** - * 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 - * in the saved/copied text of a selection. - * - * \param[in] c content of type CONTENT_TEXTPLAIN - * \param[in] start starting byte offset within UTF-8 text - * \param[in] end ending byte offset - * \param[out] plen receives validated length - * \return pointer to text, or NULL if no text - */ -char *textplain_get_raw_data(struct content *c, unsigned start, unsigned end, size_t *plen); - - #endif -- cgit v1.2.3