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 |