(self, path)
Set cursor(s) and mark(s)
Set cursor(s) and mark(s)
Set cursor ( s ) and mark ( s )
def restore_selections(self, path):
        '''Set cursor(s) and mark(s)'''
        self.restore_marks(self.marked)
        if self.goto:
            if self.goto[~0] != os.sep:
                self.goto += (os.sep if isdir(join(path, self.goto)) else '')
            self.sels = ([self.goto.replace(path, '', 1)], None)
        self.restore_sels(self.sels)
def restore_selections ( self , path ) : self . restore_marks ( self . marked ) if self . goto : if self . goto [ ~ 0 ] != os . sep : self . goto += ( os . sep if isdir ( join ( path , self . goto ) ) else '' ) self . sels = ( [ self . goto . replace ( path , '' , 1 ) ] , None ) self . restore_sels ( self . sels )