(self, extreme="bof")
Moves the cursor to the beginning or end of file list.  Clears all sections.
Moves the cursor to the beginning or end of file list.  Clears all sections.
Moves the cursor to the beginning or end of file list . Clears all sections .
def move_to_extreme(self, extreme="bof"):
        """
        Moves the cursor to the beginning or end of file list.  Clears all sections.
        """
        files = self.fileregion(with_parent_link=True)
        self.view.sel().clear()
        if extreme == "bof":
            ext_region = Region(files.a, files.a)
        else:
            name_point = self.view.extract_scope(self.view.line(files.b).a + 2).a
            ext_region = Region(name_point, name_point)
        self.view.sel().add(ext_region)
        self.view.show_at_center(ext_region)
def move_to_extreme ( self , extreme = "bof" ) : files = self . fileregion ( with_parent_link = True ) self . view . sel ( ) . clear ( ) if extreme == "bof" : ext_region = Region ( files . a , files . a ) else : name_point = self . view . extract_scope ( self . view . line ( files . b ) . a + 2 ) . a ext_region = Region ( name_point , name_point ) self . view . sel ( ) . add ( ext_region ) self . view . show_at_center ( ext_region )