[orca] Ensure we verbalize all punctuation inside ARIA code editor app
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Ensure we verbalize all punctuation inside ARIA code editor app
- Date: Wed, 15 Apr 2020 21:45:43 +0000 (UTC)
commit 369791cbe5ac3bb4c23c07cacd544c2100db699e
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Wed Apr 15 17:40:55 2020 -0400
Ensure we verbalize all punctuation inside ARIA code editor app
The previous support for the ARIA code role wasn't being called in
response to caret-moved events handled by the default script.
src/orca/scripts/default.py | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/src/orca/scripts/default.py b/src/orca/scripts/default.py
index a69b33aec..8763b1e7d 100644
--- a/src/orca/scripts/default.py
+++ b/src/orca/scripts/default.py
@@ -3285,6 +3285,9 @@ class Script(script.Script):
voice = self.speechGenerator.voice(string=line)
line = self.utilities.adjustForLinks(obj, line, startOffset)
line = self.utilities.adjustForRepeats(line)
+ if self.utilities.shouldVerbalizeAllPunctuation(obj):
+ line = self.utilities.verbalizeAllPunctuation(line)
+
utterance = [line]
utterance.extend(voice)
speech.speak(utterance)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]