File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -269,7 +269,14 @@ class WinConsoleUIA(KeyboardHandlerBasedTypedCharSupport):
269269 #: Only process text changes every 30 ms, in case the console is getting
270270 #: a lot of text.
271271 STABILIZE_DELAY = 0.03
272- _TextInfo = consoleUIATextInfo
272+ #: Use our custom textInfo for UIA consoles.
273+ #: This fixes expand/collapse, implements word movement,
274+ # and bounds review to the visible text.
275+ # Overriding _get_TextInfo and thus the TextInfo property on NVDAObjects.UIA.UIA
276+ # consoleUIATextInfo fixes expand/collapse, implements word movement, and
277+ # bounds review to the visible text.
278+ def _get_TextInfo (self ):
279+ return consoleUIATextInfo
273280 #: the caret in consoles can take a while to move on Windows 10 1903 and later.
274281 _caretMovementTimeoutMultiplier = 1.5
275282
You can’t perform that action at this time.
0 commit comments