GNOME Bugzilla – Bug 400098
Treat underscore as a word character when using key navigation
Last modified: 2015-01-06 12:15:45 UTC
It would be a great usability boost when programming to have gedit treat an underscore as a character within a word. This would have to be user-configurable I guess; it could go into the preferences menu. Other information:
This bug has also been reported in Ubuntu. https://bugs.launchpad.net/gedit/+bug/615506
Assuming that you refer to keyboard usage (Ctrl+left/rightarrows), this is still valid in 3.2.
This is highly possible a duplicate.
Yes, I refer to the use of ctrl-arrow use. In the case of TextPad (on Windows) I think there is a checkbox for "treat underscore as a word character".
This would make the word 'all_my_variables' to be selected with a double click, right? That would be nice.
I guess there should be a regular expression that makes a word to be considered a word, and it should be configurable.
Done in gedit 3.15 (this will be available in the stable version 3.16).