summaryrefslogtreecommitdiff
path: root/gtk/gtktextiter.h
diff options
context:
space:
mode:
authorHavoc Pennington <hp@redhat.com>2001-09-25 22:51:26 +0000
committerHavoc Pennington <hp@src.gnome.org>2001-09-25 22:51:26 +0000
commit1a26412db8635936ad1d0b84efd5bd2618b20ecd (patch)
treea46b3becc46fe56bb0f8cb3bb74c527fad338aae /gtk/gtktextiter.h
parent0c3be55498e388015bcba07791177be9d1225bd9 (diff)
downloadgdk-pixbuf-1a26412db8635936ad1d0b84efd5bd2618b20ecd.tar.gz
use gtk_text_iter_can_insert
2001-09-25 Havoc Pennington <hp@redhat.com> * gtk/gtktextview.c (gtk_text_view_key_press_event): use gtk_text_iter_can_insert * gtk/gtktextbuffer.c: use gtk_text_iter_can_insert * gtk/gtktextiter.c (find_line_log_attrs): fixes, #57611, #57613 (gtk_text_iter_can_insert): new function to fix #60282, should also fix msw's "can paste into empty buffer" bug. * gtk/gtktexttag.c (gtk_text_tag_event): change type check for "event object," #59091 * gtk/gtktextbtree.c: indentation fixes * gtk/gtktextiter.c (find_by_log_attrs): fixes
Diffstat (limited to 'gtk/gtktextiter.h')
-rw-r--r--gtk/gtktextiter.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtktextiter.h b/gtk/gtktextiter.h
index e48ab466e..72303ea93 100644
--- a/gtk/gtktextiter.h
+++ b/gtk/gtktextiter.h
@@ -128,6 +128,8 @@ GSList *gtk_text_iter_get_tags (const GtkTextIter *iter);
gboolean gtk_text_iter_editable (const GtkTextIter *iter,
gboolean default_setting);
+gboolean gtk_text_iter_can_insert (const GtkTextIter *iter,
+ gboolean default_editability);
gboolean gtk_text_iter_starts_word (const GtkTextIter *iter);
gboolean gtk_text_iter_ends_word (const GtkTextIter *iter);