GNOME Bugzilla – Bug 354487
apostrophe should not delimit a word boundry
Last modified: 2008-07-22 19:20:57 UTC
Please describe the problem: When using echo by word, typing an ' causes the word to be spoken before whatever comes after the '. Steps to reproduce: 1. Set echo by word in the orca config UI 2. open gedit 3. type Mike's Actual results: You hear Mike as soon as the ' is pressed Expected results: You should hear Mike's when the space is pressed after the "s" Does this happen every time? yes Other information:
The problem here is the current simplistic definition of the util.isWordDelimiter() routine. return (character in string.whitespace) \ or (character in string.punctuation)
I think we are all agreed that all of the string.whitespace should act as word delimiters. That would be: ' \t\n\r\v\f' i.e. Space, Tab, Newline, Carriage Return, Vertical Tab and Form feed. Mike, which of the following from string.punctuation should we also always use as word delimiters? !#$%&'()*+,-./:;<=>?@[\]^_`{|}~
!*+,-./:;<=>?@[\]^_{|} I think this should do it.
Created attachment 72416 [details] [review] Patch to hopefully fix the problem. Thanks Mike.
Changed checked into CVS HEAD. Closing as FIXED.