Update word_utils.py
This commit is contained in:
parent
885866fa47
commit
5033a56eac
@ -1,6 +1,8 @@
|
|||||||
#!/bin/python
|
#!/bin/python
|
||||||
|
|
||||||
def getCurrentWord(x,y, currText):
|
def getCurrentWord(x,y, currText):
|
||||||
|
if currText == '':
|
||||||
|
return -1, -1, ''
|
||||||
wordFound = False
|
wordFound = False
|
||||||
currWord = ''
|
currWord = ''
|
||||||
currLine = wrappedLines[y].replace("\t"," ")
|
currLine = wrappedLines[y].replace("\t"," ")
|
||||||
|
Loading…
Reference in New Issue
Block a user