Update word_utils.py
This commit is contained in:
parent
d5f70ecba1
commit
1e42b65efa
@ -36,7 +36,7 @@ def getCurrentWord(currX,currY, currText):
|
|||||||
else:
|
else:
|
||||||
y -= 1
|
y -= 1
|
||||||
currLine = wrappedLines[y]
|
currLine = wrappedLines[y]
|
||||||
x = len( wrappedLines[y]) - 1
|
x = len( currLine) - 1
|
||||||
lineBreak = True
|
lineBreak = True
|
||||||
else:
|
else:
|
||||||
x -= 1
|
x -= 1
|
||||||
@ -69,7 +69,7 @@ def getPrevWord(currX,currY, currText):
|
|||||||
else:
|
else:
|
||||||
y -= 1
|
y -= 1
|
||||||
currLine = wrappedLines[y]
|
currLine = wrappedLines[y]
|
||||||
x = len( wrappedLines[y]) - 1
|
x = len( currLine) - 1
|
||||||
lineBreak = True
|
lineBreak = True
|
||||||
else:
|
else:
|
||||||
x -= 1
|
x -= 1
|
||||||
|
Loading…
Reference in New Issue
Block a user