[orca] Add explicit formatting string for subscript and superscript roles



commit 399df7bbcd054f241b05f2d1c398d7d071fbc2a2
Author: Joanmarie Diggs <jdiggs igalia com>
Date:   Wed Nov 3 15:22:01 2021 +0100

    Add explicit formatting string for subscript and superscript roles

 src/orca/formatting.py | 6 ++++++
 1 file changed, 6 insertions(+)
---
diff --git a/src/orca/formatting.py b/src/orca/formatting.py
index 17f87ee37..cbfe5499c 100644
--- a/src/orca/formatting.py
+++ b/src/orca/formatting.py
@@ -457,6 +457,12 @@ formatting = {
             'focused': 'labelAndName + roleName',
             'unfocused': 'labelAndName + roleName + pause + statusBar',
             },
+        pyatspi.ROLE_SUBSCRIPT: {
+            'unfocused': 'roleName + currentLineText + allTextSelection',
+            },
+        pyatspi.ROLE_SUPERSCRIPT: {
+            'unfocused': 'roleName + currentLineText + allTextSelection',
+            },
         'ROLE_SWITCH': {
             'focused': 'switchState',
             'unfocused': 'labelOrName + roleName + switchState + availability + ' + MNEMONIC + ' + 
accelerator',


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