Update word_utils.py
This commit is contained in:
parent
7ab45cca50
commit
d8e22d97d3
@ -3,6 +3,9 @@
|
|||||||
def getCurrentWord(currX,currY, currText):
|
def getCurrentWord(currX,currY, currText):
|
||||||
if currText == '':
|
if currText == '':
|
||||||
return -1, -1, ''
|
return -1, -1, ''
|
||||||
|
x = currX
|
||||||
|
y = currY
|
||||||
|
wrappedLines = currText.split('\n')
|
||||||
wordFound = False
|
wordFound = False
|
||||||
currWord = ''
|
currWord = ''
|
||||||
currLine = wrappedLines[y].replace("\t"," ")
|
currLine = wrappedLines[y].replace("\t"," ")
|
||||||
|
Loading…
Reference in New Issue
Block a user