Commit 9982bd9e authored by Joanmarie Diggs's avatar Joanmarie Diggs

Handle a variant of autocompleted text in entry

parent 8122da52
......@@ -3331,6 +3331,9 @@ class Utilities:
selection, start, end = self.selectedText(event.source)
if selection == event.any_data:
return True
if string == event.any_data and string.endswith(selection):
beginning = string[:string.find(selection)]
return beginning.lower().endswith(lastKey.lower())
return False
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment