[orca] Interrupt presentation before presenting Calc selection changes



commit 1857690f9ad536c581a15fa68724bf8db1489173
Author: Joanmarie Diggs <jdiggs igalia com>
Date:   Tue Jul 3 15:05:26 2018 -0400

    Interrupt presentation before presenting Calc selection changes

 src/orca/scripts/apps/soffice/script_utilities.py | 6 ++++++
 1 file changed, 6 insertions(+)
---
diff --git a/src/orca/scripts/apps/soffice/script_utilities.py 
b/src/orca/scripts/apps/soffice/script_utilities.py
index bb63e31c5..c169ff7ac 100644
--- a/src/orca/scripts/apps/soffice/script_utilities.py
+++ b/src/orca/scripts/apps/soffice/script_utilities.py
@@ -843,6 +843,9 @@ class Utilities(script_utilities.Utilities):
             cell2 = self._getCellNameForCoordinates(obj, *selected[-1], True)
             msgs.append(messages.CELL_RANGE_SELECTED % (cell1, cell2))
 
+        if msgs:
+            self._script.presentationInterrupt()
+
         for msg in msgs:
             self._script.speakMessage(msg, interrupt=False)
 
@@ -901,6 +904,9 @@ class Utilities(script_utilities.Utilities):
         elif len(selectedRows) > 1:
             msgs.append(messages.TABLE_ROW_RANGE_SELECTED % (selectedRows[0], selectedRows[-1]))
 
+        if msgs:
+            self._script.presentationInterrupt()
+
         for msg in msgs:
             self._script.speakMessage(msg, interrupt=False)
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]