make puse for ibmtts disable
This commit is contained in:
parent
ce4cec27e2
commit
9dfd45eb07
@ -96,7 +96,11 @@ class outputManager():
|
|||||||
self.env['runtime']['debug'].writeDebugOut(str(e),debug.debugLevel.ERROR)
|
self.env['runtime']['debug'].writeDebugOut(str(e),debug.debugLevel.ERROR)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
cleanText = text.replace('\n',' , ')
|
if self.env['runtime']['settingsManager'].getSettingAsBool('general', 'newLinePause'):
|
||||||
|
cleanText = text.replace('\n',' , ')
|
||||||
|
else:
|
||||||
|
cleanText = text.replace('\n',' ')
|
||||||
|
|
||||||
cleanText = self.env['runtime']['headLineManager'].replaceHeadLines(cleanText)
|
cleanText = self.env['runtime']['headLineManager'].replaceHeadLines(cleanText)
|
||||||
cleanText = self.env['runtime']['punctuationManager'].proceedPunctuation(cleanText, ignorePunctuation)
|
cleanText = self.env['runtime']['punctuationManager'].proceedPunctuation(cleanText, ignorePunctuation)
|
||||||
cleanText = re.sub(' +$',' ', cleanText)
|
cleanText = re.sub(' +$',' ', cleanText)
|
||||||
|
@ -136,7 +136,7 @@ class screenManager():
|
|||||||
newScreenText.split('\n'))
|
newScreenText.split('\n'))
|
||||||
diffList = list(diff)
|
diffList = list(diff)
|
||||||
|
|
||||||
if self.env['runtime']['settingsManager'].getSetting('general', 'newLinePause') and not typing:
|
if self.env['runtime']['settingsManager'].getSettingAsBool('general', 'newLinePause') and not typing:
|
||||||
self.env['screen']['newDelta'] = '\n'.join(x[2:] for x in diffList if x[0] == '+')
|
self.env['screen']['newDelta'] = '\n'.join(x[2:] for x in diffList if x[0] == '+')
|
||||||
else:
|
else:
|
||||||
self.env['screen']['newDelta'] = ''.join(x[2:] for x in diffList if x[0] == '+')
|
self.env['screen']['newDelta'] = ''.join(x[2:] for x in diffList if x[0] == '+')
|
||||||
|
Loading…
Reference in New Issue
Block a user