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 727972 - Word boundaries for non-natural-language words
Word boundaries for non-natural-language words
Status: RESOLVED DUPLICATE of bug 530405
Product: gtk+
Classification: Platform
Component: Widget: GtkTextView
unspecified
Other All
: Normal enhancement
: ---
Assigned To: gtk-bugs
gtk-bugs
: 305167 346499 421953 579764 611676 649589 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2014-04-10 15:26 UTC by Sébastien Wilmet
Modified: 2014-04-23 11:08 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Sébastien Wilmet 2014-04-10 15:26:19 UTC
Currently word boundaries in GtkTextView is implemented with the is_word_start and is_word_end PangoLogAttr attributes, i.e. only for natural-language words. Those attributes are useful to delimit words for the spell checking for example. But for word movements (Ctrl+Left, Ctrl+Right) or word selection (double click) it would be better to include also non-natural-language words, like a group of contiguous non-alphanumeric characters (punctuation, …).

In other words, have the same word boundaries as Vim. Ctrl+Left would be the same as 'b' and Ctrl+Right the same as 'e'.
Comment 1 Sébastien Wilmet 2014-04-10 15:28:55 UTC
*** Bug 346499 has been marked as a duplicate of this bug. ***
Comment 2 Sébastien Wilmet 2014-04-10 15:30:17 UTC
*** Bug 579764 has been marked as a duplicate of this bug. ***
Comment 3 Sébastien Wilmet 2014-04-10 15:31:06 UTC
*** Bug 649589 has been marked as a duplicate of this bug. ***
Comment 4 Sébastien Wilmet 2014-04-10 15:31:52 UTC
*** Bug 611676 has been marked as a duplicate of this bug. ***
Comment 5 Sébastien Wilmet 2014-04-10 15:32:39 UTC
*** Bug 305167 has been marked as a duplicate of this bug. ***
Comment 6 Sébastien Wilmet 2014-04-10 15:33:39 UTC
*** Bug 421953 has been marked as a duplicate of this bug. ***
Comment 7 Sébastien Wilmet 2014-04-23 11:08:28 UTC

*** This bug has been marked as a duplicate of bug 530405 ***