GNOME Bugzilla – Bug 629288
GtkTextView should implement GtkEditable
Last modified: 2014-08-30 04:08:50 UTC
Nowadays only GtkEntry implements GtkEditable. So in cases where you have different text widgets and want for instance to select or paste text, you need to use widget specific functions. I propose GtkTextView should implement GtkEditable.
*** Bug 667008 has been marked as a duplicate of this bug. ***
Positions in GtkEditable are represented by a simple gint. It doesn't fit well with GtkTextIters. The positions can be converted with gtk_text_buffer_get_iter_at_offset() and gtk_text_iter_get_offset(), but using the gtk_editable functions that involve positions would not be really efficient. So most of the interface would be useless.