From f5c31b2406f8a525cc233f9e5ab84d0521717e6e Mon Sep 17 00:00:00 2001 From: chrys87 Date: Fri, 23 Sep 2016 13:33:19 +0200 Subject: [PATCH] Update review_prev_line.py --- src/fenrir-package/commands/commands/review_prev_line.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/fenrir-package/commands/commands/review_prev_line.py b/src/fenrir-package/commands/commands/review_prev_line.py index 2af0079d..746ce5d4 100644 --- a/src/fenrir-package/commands/commands/review_prev_line.py +++ b/src/fenrir-package/commands/commands/review_prev_line.py @@ -18,9 +18,7 @@ class command(): return 'moves review to the previous line and presents it' def run(self): - self.env['screenData']['oldCursorReview'] = self.env['screenData']['newCursorReview'] - if not self.env['screenData']['newCursorReview']: - self.env['screenData']['newCursorReview'] = self.env['screenData']['newCursor'].copy() + self.env['runtime']['cursorManager'].enterReviewModeCurrTextCursor() self.env['screenData']['newCursorReview']['x'], self.env['screenData']['newCursorReview']['y'], currLine = \ line_utils.getPrevLine(self.env['screenData']['newCursorReview']['x'], self.env['screenData']['newCursorReview']['y'], self.env['screenData']['newContentText'])