[orca] Do flat review say all by line rather than word
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Do flat review say all by line rather than word
- Date: Thu, 13 Dec 2018 12:20:49 +0000 (UTC)
commit 0188f9704f31a7a908c5891052af719c27fab856
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Thu Dec 13 12:20:09 2018 +0000
Do flat review say all by line rather than word
src/orca/scripts/default.py | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/orca/scripts/default.py b/src/orca/scripts/default.py
index 0f3a9e1a7..eaf4bcdba 100644
--- a/src/orca/scripts/default.py
+++ b/src/orca/scripts/default.py
@@ -1752,10 +1752,10 @@ class Script(script.Script):
context.goBegin()
while True:
- [wordString, x, y, width, height] = context.getCurrent(flat_review.Context.ZONE)
- if wordString is not None:
- speech.speak(wordString)
- moved = context.goNext(flat_review.Context.ZONE, flat_review.Context.WRAP_LINE)
+ [string, x, y, width, height] = context.getCurrent(flat_review.Context.LINE)
+ if string is not None:
+ speech.speak(string)
+ moved = context.goNext(flat_review.Context.LINE, flat_review.Context.WRAP_LINE)
if not moved:
break
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]