Commit a36ffb12 authored by Owen Taylor's avatar Owen Taylor

Filling in the gaps.

parent 50cc709f
......@@ -197,6 +197,13 @@ gint gtk_text_backward_delete (GtkText *text,
gint gtk_text_forward_delete (GtkText *text,
guint nchars);
gchar * gtk_text_get_chars (GtkText *text,
guint index,
guint nchars);
#define GTK_TEXT_INDEX(t, index) \
((index) < (t)->gap_position ? (t)->text[index] : \
(t)->text[(index) + (t)->gap_size])
#ifdef __cplusplus
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment