def _post_change_hook(self, result, command, *args):
        self._tag_current_cell()
        self.tag_remove("current_line", 1.0, "end")
        self.tag_add("current_line", "insert linestart", "insert lineend +1c")
        self._reposition_choices()
        for func in self.hooks:
            try:
                func(result, command, *args)
            except Exception, e:
                print "warning: exception in post_change_hook:", e

        if (command in ("insert","delete") and  self.complete_frame.winfo_viewable()):
            self.event_generate("<<AutoComplete>>")
            
        line = self.index("insert").split(".")[0]
dataset/ETHPy150Open boakley/robotframework-workbench/rwb/widgets/dte.py/DynamicTableEditor._post_change_hook/original