parameters: (self, event)
docstring: (tab) Complete word or open list if multiple options.
docstring_summary: (tab) Complete word or open list if multiple options.
docstring_tokens: ( tab ) Complete word or open list if multiple options .
function: def autocomplete_event(self, event):
          "(tab) Complete word or open list if multiple options."
          if hasattr(event, "mc_state") and event.mc_state or\
                  not self.text.get("insert linestart", "insert").strip():
              # A modifier was pressed along with the tab or
              # there is only previous whitespace on this line, so tab.
              return None
          if self.autocompletewindow and self.autocompletewindow.is_active():
              self.autocompletewindow.complete()
              return "break"
          else:
              opened = self.open_completions(TAB)
              return "break" if opened else None
function_tokens: def autocomplete_event ( self , event ) : if hasattr ( event , "mc_state" ) and event . mc_state or not self . text . get ( "insert linestart" , "insert" ) . strip ( ) : # A modifier was pressed along with the tab or # there is only previous whitespace on this line, so tab. return None if self . autocompletewindow and self . autocompletewindow . is_active ( ) : self . autocompletewindow . complete ( ) return "break" else : opened = self . open_completions ( TAB ) return "break" if opened else None