QScintilla/APIsManager.py

branch
Py2 comp.
changeset 3515
1b8381afe38f
parent 3178
f25fc1364c88
parent 3468
869d0b6e1e16
child 3656
441956d8fce5
equal deleted inserted replaced
3506:d85fadb263a0 3515:1b8381afe38f
183 if Globals.isWindowsPlatform(): 183 if Globals.isWindowsPlatform():
184 qsciPath = os.path.join( 184 qsciPath = os.path.join(
185 Globals.getPyQt4ModulesDirectory(), "qsci") 185 Globals.getPyQt4ModulesDirectory(), "qsci")
186 if os.path.exists(qsciPath): 186 if os.path.exists(qsciPath):
187 # it's the installer 187 # it's the installer
188 if self.__lexer.lexer() is not None: 188 if self.__lexer.lexerName() is not None:
189 apidir = os.path.join(qsciPath, "api", 189 apidir = os.path.join(qsciPath, "api",
190 self.__lexer.lexer()) 190 self.__lexer.lexerName())
191 fnames = [] 191 fnames = []
192 filist = QDir(apidir).entryInfoList( 192 filist = QDir(apidir).entryInfoList(
193 ["*.api"], QDir.Files, QDir.IgnoreCase) 193 ["*.api"], QDir.Files, QDir.IgnoreCase)
194 for fi in filist: 194 for fi in filist:
195 fnames.append(fi.absoluteFilePath()) 195 fnames.append(fi.absoluteFilePath())

eric ide

mercurial