Update review_prev_word.py
This commit is contained in:
parent
7b6e48589f
commit
d970a9994f
@ -18,9 +18,7 @@ class command():
|
|||||||
return 'moves review focus to the previous word and presents it'
|
return 'moves review focus to the previous word and presents it'
|
||||||
|
|
||||||
def run(self):
|
def run(self):
|
||||||
self.env['screenData']['oldCursorReview'] = self.env['screenData']['newCursorReview']
|
self.env['runtime']['cursorManager'].enterReviewModeCurrTextCursor()
|
||||||
if not self.env['screenData']['newCursorReview']:
|
|
||||||
self.env['screenData']['newCursorReview'] = self.env['screenData']['newCursor'].copy()
|
|
||||||
|
|
||||||
self.env['screenData']['newCursorReview']['x'], self.env['screenData']['newCursorReview']['y'], currWord = \
|
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'])
|
word_utils.getPrevWord(self.env['screenData']['newCursorReview']['x'], self.env['screenData']['newCursorReview']['y'], self.env['screenData']['newContentText'])
|
||||||
|
Loading…
Reference in New Issue
Block a user