(self, line, path=None, full=False)
return join(parent, new_name)
Return new name for line
        full
            if True return full path, otherwise relative to path variable
        path
            root, returning value is relative to it
Return new name for line
        full
            if True return full path, otherwise relative to path variable
        path
            root, returning value is relative to it
Return new name for line full if True return full path otherwise relative to path variable path root returning value is relative to it
def _new_name(self, line, path=None, full=False):
        '''Return new name for line
        full
            if True return full path, otherwise relative to path variable
        path
            root, returning value is relative to it
        '''
        if full:
            parent = dirname(self.get_fullpath_for(line).rstrip(os.sep))
        else:
            parent = dirname(self.get_parent(line, path).rstrip(os.sep))
        new_name = self.view.substr(Region(self._get_name_point(line), line.b))
        if os.sep in new_name:  # ignore trailing errors, e.g. <empty>
            new_name = new_name.split(os.sep)[0] + os.sep
        return join(parent, new_name)
def _new_name ( self , line , path = None , full = False ) : if full : parent = dirname ( self . get_fullpath_for ( line ) . rstrip ( os . sep ) ) else : parent = dirname ( self . get_parent ( line , path ) . rstrip ( os . sep ) ) new_name = self . view . substr ( Region ( self . _get_name_point ( line ) , line . b ) ) if os . sep in new_name : # ignore trailing errors, e.g. <empty> new_name = new_name . split ( os . sep ) [ 0 ] + os . sep return join ( parent , new_name )