'Handle the enter key with special handling for auto-complete'

def EnterKeyEvent(self, event):

    if self.SCIAutoCActive():
        self.SCIAutoCComplete()
        self.SCIAutoCCancel()
    return self.bindings.fire('<<newline-and-indent>>', event)
