fix typo while restructure to isspace breaks prev word
This commit is contained in:
parent
0ec1a0e56d
commit
94317eefac
@ -23,7 +23,7 @@ class command():
|
|||||||
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'])
|
||||||
|
|
||||||
if currWord.isspace()':
|
if currWord.isspace():
|
||||||
self.env['runtime']['outputManager'].presentText("blank", interrupt=True)
|
self.env['runtime']['outputManager'].presentText("blank", interrupt=True)
|
||||||
else:
|
else:
|
||||||
self.env['runtime']['outputManager'].presentText(currWord, interrupt=True)
|
self.env['runtime']['outputManager'].presentText(currWord, interrupt=True)
|
||||||
|
Loading…
Reference in New Issue
Block a user