add next/pref char phoneteic

This commit is contained in:
chrys
2016-10-17 20:11:56 +02:00
parent ccc4a2776a
commit e65f880dfb
11 changed files with 100 additions and 139 deletions

View File

@@ -18,10 +18,7 @@ class command():
return 'moves review to the next character 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'], currChar = \
char_utils.getNextChar(self.env['screenData']['newCursorReview']['x'], self.env['screenData']['newCursorReview']['y'], self.env['screenData']['newContentText'])