summaryrefslogtreecommitdiff
path: root/gtk/gtktextbtree.h
diff options
context:
space:
mode:
authorMatthias Clasen <maclas@gmx.de>2003-01-06 22:34:23 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2003-01-06 22:34:23 +0000
commitbc70dc94bf6392a7503ebd81092494631a272c44 (patch)
treeb6d9d87acf4be094a3a9401f86fa54a929b1a6f8 /gtk/gtktextbtree.h
parent41f2f7974e8d5ccd52543d82b92e1ff2c7ce3c2d (diff)
downloadgtk+-bc70dc94bf6392a7503ebd81092494631a272c44.tar.gz
Implement a utility function proposed in #102534:
2003-01-06 Matthias Clasen <maclas@gmx.de> Implement a utility function proposed in #102534: * gtk/gtktextbtree.h: * gtk/gtktextbtree.c (_gtk_text_btree_select_range): New function. (_gtk_text_btree_place_cursor): Now a simple wrapper around _gtk_text_btree_select_range(). * gtk/gtktextbuffer.h: * gtk/gtktextbuffer.c (gtk_text_buffer_select_range): New function. (gtk_text_buffer_place_cursor): Now a simple wrapper around gtk_text_buffer_select_range().
Diffstat (limited to 'gtk/gtktextbtree.h')
-rw-r--r--gtk/gtktextbtree.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk/gtktextbtree.h b/gtk/gtktextbtree.h
index d3553624eb..28fe390f0c 100644
--- a/gtk/gtktextbtree.h
+++ b/gtk/gtktextbtree.h
@@ -173,6 +173,10 @@ gboolean _gtk_text_btree_get_selection_bounds (GtkTextBTree
GtkTextIter *end);
void _gtk_text_btree_place_cursor (GtkTextBTree *tree,
const GtkTextIter *where);
+void _gtk_text_btree_select_range (GtkTextBTree *tree,
+ const GtkTextIter *ins,
+ const GtkTextIter
+*bound);
gboolean _gtk_text_btree_mark_is_insert (GtkTextBTree *tree,
GtkTextMark *segment);
gboolean _gtk_text_btree_mark_is_selection_bound (GtkTextBTree *tree,