Пример #1
0
 def iterFiles(self, ignorer):
     """Iterate through open files, returning the sort item that will
     later be used in the call to threadedSearch
     
     """
     docs = BufferList.getBuffers()
     for buf in docs:
         if not buf.permanent:
             yield (str(buf.url), buf)
Пример #2
0
 def iterFiles(self, ignorer):
     """Iterate through open files, returning the sort item that will
     later be used in the call to threadedSearch
     
     """
     docs = BufferList.getBuffers()
     for buf in docs:
         if not buf.permanent:
             yield (str(buf.url), buf)