(self, item)
return self.view.find_all(u'%s%s%s' % (pattern, fname, sep))
item is Unicode
item is Unicode
item is Unicode
def _find_in_view(self, item):
        '''item is Unicode'''
        fname = re.escape(basename(os.path.abspath(item)) or item.rstrip(os.sep))
        if item[~0] == os.sep:
            pattern = u'^\s*[▸▾] '
            sep = re.escape(os.sep)
        else:
            pattern = u'^\s*≡ '
            sep = ''
        return self.view.find_all(u'%s%s%s' % (pattern, fname, sep))
def _find_in_view ( self , item ) : fname = re . escape ( basename ( os . path . abspath ( item ) ) or item . rstrip ( os . sep ) ) if item [ ~ 0 ] == os . sep : pattern = u'^\s*[▸▾] ' sep = re . escape ( os . sep ) else : pattern = u'^\s*≡ ' sep = '' return self . view . find_all ( u'%s%s%s' % ( pattern , fname , sep ) )