[orca] Ensure we present text which is directly inside a scroll pane



commit dd9d9d38f40e389e9388dd099c522fd1685f8ff4
Author: Joanmarie Diggs <jdiggs igalia com>
Date:   Thu Mar 19 15:36:56 2020 -0400

    Ensure we present text which is directly inside a scroll pane

 src/orca/formatting.py | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/src/orca/formatting.py b/src/orca/formatting.py
index 76eb5f183..7b7e509eb 100644
--- a/src/orca/formatting.py
+++ b/src/orca/formatting.py
@@ -421,6 +421,9 @@ formatting = {
             'unfocused': 'labelOrName + roleName + value + required + availability + ' + MNEMONIC,
             'basicWhereAmI': 'labelOrName + roleName + value + percentage + ' + MNEMONIC + ' + accelerator + 
required'
             },
+        pyatspi.ROLE_SCROLL_PANE: {
+            'unfocused': '(currentLineText + allTextSelection) or (labelOrName + roleName)',
+            },
         pyatspi.ROLE_SECTION: {
             'focused': '(labelOrName or (currentLineText + allTextSelection)) + roleName',
             'unfocused': '(labelOrName or (currentLineText + allTextSelection)) + roleName + ' + MNEMONIC,


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