Update word_utils.py

This commit is contained in:
chrys87 2016-07-20 16:11:05 +02:00 committed by GitHub
parent 7ab45cca50
commit d8e22d97d3

View File

@ -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"," ")