From 5d7c01f1a7c94f4b2494e25965fbed12340eb98e Mon Sep 17 00:00:00 2001 From: chrys Date: Sat, 24 Mar 2018 21:31:55 +0100 Subject: [PATCH] remove debufg --- src/fenrirscreenreader/core/screenManager.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/fenrirscreenreader/core/screenManager.py b/src/fenrirscreenreader/core/screenManager.py index 5d4f70b5..09f206a3 100644 --- a/src/fenrirscreenreader/core/screenManager.py +++ b/src/fenrirscreenreader/core/screenManager.py @@ -86,7 +86,6 @@ class screenManager(): if oldScreenText == '' and\ newScreenText != '': self.env['screen']['newDelta'] = newScreenText - print(1) else: cursorLineStart = self.env['screen']['newCursor']['y'] * self.env['screen']['columns'] + self.env['screen']['newCursor']['y'] cursorLineEnd = cursorLineStart + self.env['screen']['columns'] @@ -111,12 +110,10 @@ class screenManager(): if tempNewDelta != ''.join(newScreenText[self.env['screen']['oldCursor']['x']:self.env['screen']['newCursor']['x']].rstrip()): diffList = ['+ ' + self.env['screen']['newContentText'].split('\n')[self.env['screen']['newCursor']['y']]] typing = True - print(2) else: diff = difflib.ndiff( oldScreenText.split('\n'),\ newScreenText.split('\n')) diffList = list(diff) - print(3) if self.env['runtime']['settingsManager'].getSetting('general', 'newLinePause') and not typing: self.env['screen']['newDelta'] = '\n'.join(x[2:] for x in diffList if x[0] == '+')