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