We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 50cb4de + bc553c0 commit ff21508Copy full SHA for ff21508
1 file changed
source/speechDictHandler/__init__.py
@@ -118,6 +118,14 @@ def sub(self, text):
118
def processText(text):
119
if not globalVars.speechDictionaryProcessing:
120
return text
121
+ try:
122
+ # #14689: API level 0 UIA consoles have many blank lines, which slows processing to a halt
123
+ if config.conf["UIA"]["winConsoleImplementation"] == "UIA":
124
+ stripText = text.rstrip()
125
+ if len(text)-len(stripText) > 10000:
126
+ text = stripText
127
+ except KeyError:
128
+ pass
129
for type in dictTypes:
130
text=dictionaries[type].sub(text)
131
0 commit comments