eric6/QScintilla/APIsManager.py

changeset 8143
2c730d5fd177
parent 7923
91e843545d9a
child 8176
31965986ecd1
child 8218
7c09585bd960
equal deleted inserted replaced
8141:27f636beebad 8143:2c730d5fd177
216 if self.__lexer.lexerName() is not None: 216 if self.__lexer.lexerName() is not None:
217 apidir = os.path.join(qsciPath, "api", 217 apidir = os.path.join(qsciPath, "api",
218 self.__lexer.lexerName()) 218 self.__lexer.lexerName())
219 fnames = [] 219 fnames = []
220 filist = QDir(apidir).entryInfoList( 220 filist = QDir(apidir).entryInfoList(
221 ["*.api"], QDir.Files, QDir.IgnoreCase) 221 ["*.api"], QDir.Filter.Files,
222 QDir.SortFlag.IgnoreCase)
222 for fi in filist: 223 for fi in filist:
223 fnames.append(fi.absoluteFilePath()) 224 fnames.append(fi.absoluteFilePath())
224 return fnames 225 return fnames
225 else: 226 else:
226 return [] 227 return []

eric ide

mercurial