Skip to content

Commit

Permalink
Update source/NVDAObjects/UIA/winConsoleUIA.py
Browse files Browse the repository at this point in the history
Co-Authored-By: Reef Turner <feerrenrut@users.noreply.github.com>
  • Loading branch information
codeofdusk and feerrenrut authored Aug 13, 2019
1 parent 6ff510a commit 4864469
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion source/NVDAObjects/UIA/winConsoleUIA.py
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,11 @@ class WinConsoleUIA(KeyboardHandlerBasedTypedCharSupport):
#: Use our custom textInfo for UIA consoles.
#: This fixes expand/collapse, implements word movement,
# and bounds review to the visible text.
TextInfo = consoleUIATextInfo
# Overriding _get_TextInfo and thus the TextInfo property on NVDAObjects.UIA.UIA
# consoleUIATextInfo fixes expand/collapse, implements word movement, and
# bounds review to the visible text.
def _get_TextInfo(self):
return consoleUIATextInfo
#: the caret in consoles can take a while to move on Windows 10 1903 and later.
_caretMovementTimeoutMultiplier = 1.5

Expand Down

0 comments on commit 4864469

Please sign in to comment.