diff options
author | Owen Taylor <otaylor@redhat.com> | 2004-10-21 19:13:17 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2004-10-21 19:13:17 +0000 |
commit | e0ad07e0b4e7257fc95f8ce0f988b977c6b8e2b9 (patch) | |
tree | bdee0f4b2e3e2eca1e4284eec4aa13e2f114598d /gtk/gtktextbuffer.h | |
parent | 92b3cda495da1702abf82db39411981d76488f9c (diff) | |
download | gdk-pixbuf-e0ad07e0b4e7257fc95f8ce0f988b977c6b8e2b9.tar.gz |
#155952
Thu Oct 21 15:01:09 2004 Owen Taylor <otaylor@redhat.com>
#155952
* gtk/gtkentry.c: Fix checking the wrong position for
the backspace_deletes_character PangoLogAttr.
* gtk/gtktextbuffer.[ch] gtk/gtk.symbols (gtk_text_buffer_backspace):
Move backspace logic from GtkTextView to here, check
backspace_deletes_char.
* gtk/gtktextview.c: Use gtk_text_buffer_backspace().
Diffstat (limited to 'gtk/gtktextbuffer.h')
-rw-r--r-- | gtk/gtktextbuffer.h | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/gtk/gtktextbuffer.h b/gtk/gtktextbuffer.h index 6f4a4728c..6d9d3b877 100644 --- a/gtk/gtktextbuffer.h +++ b/gtk/gtktextbuffer.h @@ -197,14 +197,16 @@ void gtk_text_buffer_insert_with_tags_by_name (GtkTextBuffer *buffer, /* Delete from the buffer */ void gtk_text_buffer_delete (GtkTextBuffer *buffer, - GtkTextIter *start, - GtkTextIter *end); + GtkTextIter *start, + GtkTextIter *end); gboolean gtk_text_buffer_delete_interactive (GtkTextBuffer *buffer, - GtkTextIter *start_iter, - GtkTextIter *end_iter, - gboolean default_editable); - - + GtkTextIter *start_iter, + GtkTextIter *end_iter, + gboolean default_editable); +gboolean gtk_text_buffer_backspace (GtkTextBuffer *buffer, + GtkTextIter *iter, + gboolean interactive, + gboolean default_editable); /* Obtain strings from the buffer */ gchar *gtk_text_buffer_get_text (GtkTextBuffer *buffer, |