QScintilla/APIsManager.py

branch
5_4_x
changeset 3467
2bf0226c7501
parent 3160
209a07d7e401
child 3515
1b8381afe38f
equal deleted inserted replaced
3465:dd3e345513b3 3467:2bf0226c7501
181 if Globals.isWindowsPlatform(): 181 if Globals.isWindowsPlatform():
182 qsciPath = os.path.join( 182 qsciPath = os.path.join(
183 Globals.getPyQt4ModulesDirectory(), "qsci") 183 Globals.getPyQt4ModulesDirectory(), "qsci")
184 if os.path.exists(qsciPath): 184 if os.path.exists(qsciPath):
185 # it's the installer 185 # it's the installer
186 if self.__lexer.lexer() is not None: 186 if self.__lexer.lexerName() is not None:
187 apidir = os.path.join(qsciPath, "api", 187 apidir = os.path.join(qsciPath, "api",
188 self.__lexer.lexer()) 188 self.__lexer.lexerName())
189 fnames = [] 189 fnames = []
190 filist = QDir(apidir).entryInfoList( 190 filist = QDir(apidir).entryInfoList(
191 ["*.api"], QDir.Files, QDir.IgnoreCase) 191 ["*.api"], QDir.Files, QDir.IgnoreCase)
192 for fi in filist: 192 for fi in filist:
193 fnames.append(fi.absoluteFilePath()) 193 fnames.append(fi.absoluteFilePath())

eric ide

mercurial