GNOME Bugzilla – Bug 661232
Make Gtk.TextBuffer.delete iter parameters be ref
Last modified: 2011-10-08 12:46:48 UTC
The API for gtk_text_buffer_delete() says: > Because the buffer is modified, all outstanding iterators become invalid after > calling this function; however, the start and end will be re-initialized to > point to the location where text was deleted. This is the same problem as bug #659350, but here it's the delete() function instead of insert().
Same problem for delete_interactive().
commit 68bdc65fe635a7e709d22c7cec93f07e6ce910a7 Author: Luca Bruno <lucabru@src.gnome.org> Date: Sat Oct 8 11:11:43 2011 +0200 gtk+-2.0, gtk+-3.0: Fix TextBuffer.delete and delete_interactive bindings Fixes bug 661232. This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.
Thanks!