In English, to the best of my knowledge, both "I'm" and "doesn't" are counted as single words.
I am actually not aware of a situation where words are separated by something other than white-space. (Though, one could possibly make the case of hyphenated words counting as multiple words.)
I believe GTK's text widget changes behavior based on the language selected. So at least a fix to the English word breaking algorithm should be possible.
In English, to the best of my knowledge, both "I'm" and "doesn't" are counted as single words.
I am actually not aware of a situation where words are separated by something other than white-space. (Though, one could possibly make the case of hyphenated words counting as multiple words.)
I believe GTK's text widget changes behavior based on the language selected. So at least a fix to the English word breaking algorithm should be possible.