(self, event=None)
return "break"
Comment out each line in region.

        ## is appended to the beginning of each line to comment it out.
Comment out each line in region.
Comment out each line in region .
def comment_region_event(self, event=None):
        """Comment out each line in region.

        ## is appended to the beginning of each line to comment it out.
        """
        head, tail, chars, lines = self.get_region()
        for pos in range(len(lines) - 1):
            line = lines[pos]
            lines[pos] = '##' + line
        self.set_region(head, tail, chars, lines)
        return "break"
def comment_region_event ( self , event = None ) : head , tail , chars , lines = self . get_region ( ) for pos in range ( len ( lines ) - 1 ) : line = lines [ pos ] lines [ pos ] = '##' + line self . set_region ( head , tail , chars , lines ) return "break"