(self, with_parent_link=False)
return Region(all_items[0].a, all_items[~0].b)
Returns a region containing the lines containing filenames.
        If there are no filenames None is returned.
Returns a region containing the lines containing filenames.
        If there are no filenames None is returned.
Returns a region containing the lines containing filenames . If there are no filenames None is returned .
def fileregion(self, with_parent_link=False):
        """
        Returns a region containing the lines containing filenames.
        If there are no filenames None is returned.
        """
        if with_parent_link:
            all_items = sorted(self.view.find_by_selector('dired.item'))
        else:
            all_items = sorted(self.view.find_by_selector('dired.item.directory') +
                               self.view.find_by_selector('dired.item.file'))
        if not all_items:
            return None
        return Region(all_items[0].a, all_items[~0].b)
def fileregion ( self , with_parent_link = False ) : if with_parent_link : all_items = sorted ( self . view . find_by_selector ( 'dired.item' ) ) else : all_items = sorted ( self . view . find_by_selector ( 'dired.item.directory' ) + self . view . find_by_selector ( 'dired.item.file' ) ) if not all_items : return None return Region ( all_items [ 0 ] . a , all_items [ ~ 0 ] . b )