Update remove_word_from_spell_check.py

This commit is contained in:
chrys87 2016-09-23 12:57:19 +02:00 committed by GitHub
parent ab6c8c76b2
commit 47ac664e6b

View File

@ -38,10 +38,7 @@ class command():
except: except:
return return
if self.env['screenData']['newCursorReview']: cursorPos = self.env['runtime']['cursorManager'].getReviewOrTextCursor()
cursorPos = self.env['screenData']['newCursorReview'].copy()
else:
cursorPos = self.env['screenData']['newCursor'].copy()
# get the word # get the word
newContent = self.env['screenData']['newContentText'].split('\n')[cursorPos['y']] newContent = self.env['screenData']['newContentText'].split('\n')[cursorPos['y']]