'Happens when it would be nice to open a completion list, but not
really necessary, for example after a dot, so function
calls won\'t be made.'

def try_open_completions_event(self, event):

    lastchar = self.text.get('insert-1c')
    if (lastchar == '.'):
        self._open_completions_later(False, False, False, COMPLETE_ATTRIBUTES)
    elif (lastchar in SEPS):
        self._open_completions_later(False, False, False, COMPLETE_FILES)
