Update spell_check.py
This commit is contained in:
parent
8d20208ded
commit
70284d1656
@ -37,11 +37,8 @@ class command():
|
|||||||
self.updateSpellLanguage()
|
self.updateSpellLanguage()
|
||||||
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']]
|
||||||
|
Loading…
Reference in New Issue
Block a user