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 346031 - speakTextIndentation() doesn't handle occurances of '\302\240' "whitespace".
speakTextIndentation() doesn't handle occurances of '\302\240' "whitespace".
Status: RESOLVED FIXED
Product: orca
Classification: Applications
Component: general
0.2.x
Other Solaris
: Normal normal
: ---
Assigned To: Rich Burridge
Orca Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-06-27 14:21 UTC by Rich Burridge
Modified: 2006-07-10 15:54 UTC
See Also:
GNOME target: ---
GNOME version: 2.13/2.14


Attachments
Patch to fix the problem. (661 bytes, patch)
2006-07-10 15:46 UTC, Rich Burridge
none Details | Review

Description Rich Burridge 2006-06-27 14:21:38 UTC
When I went to add in support for text indentation for Evolution,
I found the following:

* if a line starts with one or more tabs, these can be found by looking for
  '\t' characters.
* if there is a single space at the start of the line, I can find it
  by looking for ' '.
* if there are two spaces at the start of the line, then the first two
  characters are \302 and \240.
* if there are three spaces at the start of the line, then there are two
  occurances of \302 followed by \240 (i.e. \302\240\302\240...)
* and so on.

Currently speakTextIndentation() is not catching those \302\240 sequences.
Comment 1 Rich Burridge 2006-07-10 15:46:13 UTC
Created attachment 68721 [details] [review]
Patch to fix the problem.
Comment 2 Rich Burridge 2006-07-10 15:54:24 UTC
Change checked into CVS HEAD. Closed as FIXED.