Open HenriAugusto opened 4 years ago
In ::completion::insert_key I've tried adding
set ::current_text [$::current_canvas itemcget $::current_tag -text]
instead of
append ::current_text $key
but it doesn't work. The plugin will always be "one char late" in comparison with what is in the box.
Problem:
li
li
with the mousen
n
sinceli
was selected(but the autocomplete at least will type the correct text for you :smile: )
Maybe a solution would be to actually query the object text after each key is pressed.