After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 629288 - GtkTextView should implement GtkEditable
GtkTextView should implement GtkEditable
Status: RESOLVED WONTFIX
Product: gtk+
Classification: Platform
Component: Widget: GtkTextView
unspecified
Other All
: Normal enhancement
: ---
Assigned To: gtk-bugs
gtk-bugs
: 667008 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2010-09-10 15:25 UTC by Christian Dywan
Modified: 2014-08-30 04:08 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Christian Dywan 2010-09-10 15:25:48 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.
Comment 1 Sébastien Wilmet 2013-03-28 18:29:11 UTC
*** Bug 667008 has been marked as a duplicate of this bug. ***
Comment 2 Sébastien Wilmet 2013-04-01 15:27:39 UTC
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.