summaryrefslogtreecommitdiff
path: root/render/textplain.h
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2011-08-24 12:29:30 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2011-08-24 12:29:30 +0000
commit63c07ee28d890c4afd83233bb055d482b92162c9 (patch)
treef2fd049d8603c4d9c52b906358b061ebc1e78a84 /render/textplain.h
parent85ec83636d60fe945bc3df00cb20d9a850ce7ae8 (diff)
downloadnetsurf-63c07ee28d890c4afd83233bb055d482b92162c9.tar.gz
netsurf-63c07ee28d890c4afd83233bb055d482b92162c9.tar.bz2
Core part of search improvement:
+ Split up browser window and content related elements of html & text search. + Associate search contexts with contents, rather than browser windows. + Remove highlighting of search terms dependency on current_redraw_browser. + Fixes issues with search contexts being applied to the wrong content. svn path=/trunk/netsurf/; revision=12646
Diffstat (limited to 'render/textplain.h')
-rw-r--r--render/textplain.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/render/textplain.h b/render/textplain.h
index 75e84b114..36b9a1898 100644
--- a/render/textplain.h
+++ b/render/textplain.h
@@ -48,5 +48,6 @@ int textplain_find_line(struct content *c, unsigned offset);
char *textplain_get_raw_data(struct content *c,
unsigned start, unsigned end, size_t *plen);
struct browser_window *textplain_get_browser_window(struct content *c);
+void textplain_set_search(struct content *c, struct search_context *s);
#endif