eric6/Project/QuickFindFileDialog.py

changeset 8205
4a0f1f896341
parent 8143
2c730d5fd177
child 8218
7c09585bd960
equal deleted inserted replaced
8204:fd477cded1c1 8205:4a0f1f896341
145 @ytype str 145 @ytype str
146 """ 146 """
147 for typ in ["SOURCES", "FORMS", "INTERFACES", "PROTOCOLS", "RESOURCES", 147 for typ in ["SOURCES", "FORMS", "INTERFACES", "PROTOCOLS", "RESOURCES",
148 "TRANSLATIONS", "OTHERS"]: 148 "TRANSLATIONS", "OTHERS"]:
149 entries = self.project.pdata.get(typ) 149 entries = self.project.pdata.get(typ)
150 for entry in entries[:]: 150 yield from entries[:]
151 yield entry
152 151
153 def __sortedMatches(self, items, searchTerm): 152 def __sortedMatches(self, items, searchTerm):
154 """ 153 """
155 Private method to find the subset of items which match a search term. 154 Private method to find the subset of items which match a search term.
156 155

eric ide

mercurial