src/eric7/QScintilla/APIsManager.py

branch
eric7
changeset 9402
f5d9aa5c62db
parent 9401
38514063ecee
child 9413
80c06d472826
equal deleted inserted replaced
9401:38514063ecee 9402:f5d9aa5c62db
201 apiDir = os.path.join(apisDir, self.__lexer.language()) 201 apiDir = os.path.join(apisDir, self.__lexer.language())
202 if not os.path.exists(apiDir): 202 if not os.path.exists(apiDir):
203 # use lower case language 203 # use lower case language
204 apiDir = os.path.join(apisDir, self.__lexer.language().lower()) 204 apiDir = os.path.join(apisDir, self.__lexer.language().lower())
205 fnames = { 205 fnames = {
206 os.path.join(apiDir, f) 206 os.path.join(apiDir, f) for f in glob.glob("*.api", root_dir=apiDir)
207 for f in glob.glob("*.api", root_dir=apiDir)
208 } 207 }
209 # combine with the QScintilla standard behavior 208 # combine with the QScintilla standard behavior
210 fnames |= { 209 fnames |= {
211 os.path.join(apiDir, f) 210 os.path.join(apiDir, f)
212 for f in glob.glob( 211 for f in glob.glob(

eric ide

mercurial