File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88from logHandler import log
99import os
1010import codecs
11- import review
1211import api
12+ import config
1313from . import dictFormatUpgrade
1414from .speechDictVars import speechDictsPath
1515
@@ -115,26 +115,9 @@ def sub(self, text):
115115 del self [index ]
116116 return text
117117
118-
119118def processText (text ):
120119 if not globalVars .speechDictionaryProcessing :
121120 return text
122- # #14689: older (IMPROVED and END_INCLUSIVE) UIA consoles have many blank lines,
123- # which slows processing to a halt
124- focus = api .getFocusObject ()
125- try :
126- # get TextInfo implementation for object review mode
127- textInfo , obj = review .getObjectPosition (focus )
128- except AttributeError : # no makeTextInfo
129- textInfo = None
130- # late import to prevent circular dependency
131- # ConsoleUIATextInfo is used by IMPROVED and END_INCLUSIVE consoles
132- from NVDAObjects .UIA .winConsoleUIA import ConsoleUIATextInfo
133- if isinstance (textInfo , ConsoleUIATextInfo ):
134- stripText = text .rstrip ()
135- IGNORE_TRAILING_WHITESPACE_LENGTH = 100
136- if len (text ) - len (stripText ) > IGNORE_TRAILING_WHITESPACE_LENGTH :
137- text = stripText
138121 for type in dictTypes :
139122 text = dictionaries [type ].sub (text )
140123 return text
Original file line number Diff line number Diff line change @@ -55,7 +55,6 @@ This only worked for Bluetooth Serial ports before. (#14524)
5555Instead NVDA reports that the link has no destination. (#14723)
5656- Several stability fixes to input/output for braille displays, resulting in less frequent errors and crashes of NVDA. (#14627)
5757- NVDA again recovers from many more situations such as applications that stop responding which previously caused it to freeze completely. (#14759)
58- - When forcing UIA support with certain terminal and consoles, a bug is fixed which caused a freeze and the log file to be spammed. (#14689)
5958- The destination of graphic links are now correctly reported in Chrome and Edge. (#14779)
6059-
6160
You can’t perform that action at this time.
0 commit comments