summaryrefslogtreecommitdiff
path: root/desktop/selection.h
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/selection.h')
-rw-r--r--desktop/selection.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/desktop/selection.h b/desktop/selection.h
index cfaf59baf..cc8d8da4e 100644
--- a/desktop/selection.h
+++ b/desktop/selection.h
@@ -29,6 +29,8 @@
struct box;
struct browser_window;
+struct plot_font_style;
+struct selection_string;
typedef enum {
DRAG_NONE,
@@ -218,4 +220,11 @@ char *selection_get_copy(struct selection *s);
*/
bool selection_highlighted(const struct selection *s, unsigned start, unsigned end, unsigned *start_idx, unsigned *end_idx);
+bool
+selection_string_append(const char *text,
+ size_t length,
+ bool space,
+ struct plot_font_style *style,
+ struct selection_string *sel_string);
+
#endif