(self, edit, line)
line is a Region, on which folding is supposed to happen (or not)
line is a Region, on which folding is supposed to happen (or not)
line is a Region on which folding is supposed to happen ( or not )
def fold(self, edit, line):
        '''line is a Region, on which folding is supposed to happen (or not)'''
        line, indented_region = self.get_indented_region(line)
        if not indented_region:
            return  # folding is not supposed to happen, so we exit

        self.apply_change_into_view(edit, line, indented_region)
def fold ( self , edit , line ) : line , indented_region = self . get_indented_region ( line ) if not indented_region : return # folding is not supposed to happen, so we exit self . apply_change_into_view ( edit , line , indented_region )