(self, event)
return
Handle user input of closer.
Handle user input of closer.
Handle user input of closer .
def paren_closed_event(self, event):
        "Handle user input of closer."
        # If user bound non-closer to <<paren-closed>>, quit.
        closer = self.text.get("insert-1c")
        if closer not in _openers:
            return
        hp = HyperParser(self.editwin, "insert-1c")
        if not hp.is_in_code():
            return
        indices = hp.get_surrounding_brackets(_openers[closer], True)
        self.finish_paren_event(indices)
        return
def paren_closed_event ( self , event ) : # If user bound non-closer to <<paren-closed>>, quit. closer = self . text . get ( "insert-1c" ) if closer not in _openers : return hp = HyperParser ( self . editwin , "insert-1c" ) if not hp . is_in_code ( ) : return indices = hp . get_surrounding_brackets ( _openers [ closer ] , True ) self . finish_paren_event ( indices ) return