summaryrefslogtreecommitdiff
path: root/desktop/selection.h
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2008-03-31 18:04:36 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2008-03-31 18:04:36 +0000
commit5def4f5e0c8a3732c180cb6b5fbe908a803c05b6 (patch)
treeed337ada6ec6eeae94786b7dbd8c48f750c05ff9 /desktop/selection.h
parent8ec3958b0421504b4a1a51df395aea9a8a94a317 (diff)
downloadnetsurf-5def4f5e0c8a3732c180cb6b5fbe908a803c05b6.tar.gz
netsurf-5def4f5e0c8a3732c180cb6b5fbe908a803c05b6.tar.bz2
Fix formatting of copied or saved text selections.
svn path=/trunk/netsurf/; revision=4063
Diffstat (limited to 'desktop/selection.h')
-rw-r--r--desktop/selection.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/desktop/selection.h b/desktop/selection.h
index 706286766..6a1468b0f 100644
--- a/desktop/selection.h
+++ b/desktop/selection.h
@@ -55,7 +55,7 @@ struct selection
typedef bool (*seln_traverse_handler)(const char *text, size_t length,
- bool space, struct box *box, void *handle);
+ struct box *box, void *handle, const char *whitespace_text);
struct selection *selection_create(struct browser_window *bw);
@@ -86,8 +86,10 @@ void selection_set_end(struct selection *s, unsigned idx);
struct box *selection_get_start(struct selection *s, int *pidx);
struct box *selection_get_end(struct selection *s, int *pidx);
-bool selection_click(struct selection *s, browser_mouse_state mouse, unsigned idx);
-void selection_track(struct selection *s, browser_mouse_state mouse, unsigned idx);
+bool selection_click(struct selection *s, browser_mouse_state mouse,
+ unsigned idx);
+void selection_track(struct selection *s, browser_mouse_state mouse,
+ unsigned idx);
/** Handles completion of a drag operation */
/* void selection_drag_end(struct selection *s); */