[orca] Add explicit formatting string for subscript and superscript roles
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Add explicit formatting string for subscript and superscript roles
- Date: Wed, 3 Nov 2021 14:22:54 +0000 (UTC)
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]