PDA

View Full Version : [gnome] Default text selection Gnome/GEdit/GTK(?)



sototallycarl
December 20th, 2009, 09:36 PM
In KDE and Mac OS (unsure about Windows) when you double click text in a text editor on a word like "_initFunction" it would select the whole thing "_initFunction" but in Gnome/GEdit it on selected "initFunction" minus the underscore.

I am really not sure which package denotes this, Gnome, GEdit or GTK or something I really just have no idea about.

I was wondering if there is ANY way to change this. gui, terminal, source code, anything. It drives me nuts and slows me down since I have to manually select things.

If not are there any decent code editors that can handle this one little detail?

hugmenot
December 20th, 2009, 11:35 PM
I think the Pango text library determines word boundaries. No idea if that is configurable.
But it should give you something to Google for.

Gnome-Terminal has a gconf key "word_chars", but you didn’t ask for g-t.

Derek_
January 1st, 2010, 05:05 PM
I've just made a Gedit plugin that will allow you to configure this for Gedit.

http://code.google.com/p/gedit-click-config/