Re: Orca Speaking blank lines
- From: Rich Burridge <Rich Burridge Sun COM>
- To: Nolan Darilek <nolan thewordnerd info>
- Cc: orca-list gnome org
- Subject: Re: Orca Speaking blank lines
- Date: Wed, 01 Nov 2006 10:34:47 -0800
Hi Nolan,
But, anyway, I experienced a minor annoyance for which I have a
patch, but before submitting it to bugzilla I want to make sure a)
there isn't some other way/good reason for things being done this
way, and b) that I've in fact made the change in the best place for
it. :) When editing documents, I was annoyed by Orca not speaking
blank lines, because when I press a key and don't receive any
feedback I generally assume that nothing happens--I've reached the
top/bottom of the list/whatever and focus doesn't wrap, there is no
valid use for that key, etc.
See:
http://bugzilla.gnome.org/show_bug.cgi?id=348463
When this gets fixed, we will need to add in an option to the Orca
Preferences dialog to ask the user whether they want "blank" spoken
on not. Not everybody will require it. So there will also be a new
setting in settings.py and updates to orca_prefs.py and orca_gui_prefs.py.
I went to default.py, and noticed that the sayLine() method is
specifically written to ignore blank lines. So I initialized the
default voice outside of the "if len(line):" clause, added an "else"
and spoke the phrase "blank". Now I've got semi-functional speaking
of blank lines (though there's weirdness in OpenOffice where "blank"
is sometimes spoken twice, or in addition to the new line.)
You might like to attach your patch (in "cvs diff -u" format) to that bug.
It'll help with the solution.
OpenOffice will have to be fixed in the
.../src/orca/scripts/StarOffice.py. There
is code in there to remove bogus "paragraphs".
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]