Skip to content

Commit 4dce2ce

Browse files
authored
Added reportHighlight to _reportFormattingHelper (#15076)
Fixes #15075 Summary of the issue: Highlight has not been reported when querying formatting manually via script in globalCommands, particularly useful after pr #14610. Description of user facing changes If a text is highlighted in Word, now it's reported with NVDA+f, even if highlight reporting is disabled in document formatting settings. Description of development approach Simply added "reportHighlight" as config key to query in _reportFormattingHelper, inside globalCommans.py.
1 parent 3f89b60 commit 4dce2ce

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

source/globalCommands.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2145,6 +2145,7 @@ def _reportFormattingHelper(self, info, browseable=False):
21452145
"reportFontSize",
21462146
"reportFontAttributes",
21472147
"reportSuperscriptsAndSubscripts",
2148+
"reportHighlight",
21482149
"reportColor",
21492150
"reportStyle",
21502151
"reportAlignment",

0 commit comments

Comments
 (0)