From d970a9994f074d7804cae6222d3328e76f970409 Mon Sep 17 00:00:00 2001 From: chrys87 Date: Fri, 23 Sep 2016 13:00:32 +0200 Subject: [PATCH] Update review_prev_word.py --- src/fenrir-package/commands/commands/review_prev_word.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/fenrir-package/commands/commands/review_prev_word.py b/src/fenrir-package/commands/commands/review_prev_word.py index 65d75a31..683da62b 100644 --- a/src/fenrir-package/commands/commands/review_prev_word.py +++ b/src/fenrir-package/commands/commands/review_prev_word.py @@ -18,9 +18,7 @@ class command(): return 'moves review focus to the previous word 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'], currWord = \ word_utils.getPrevWord(self.env['screenData']['newCursorReview']['x'], self.env['screenData']['newCursorReview']['y'], self.env['screenData']['newContentText'])