src/eric7/QScintilla/EditorOutlineModel.py

branch
eric7
changeset 10373
093dcebe5ecb
parent 9653
e67609152c5e
child 10439
21c28b0f9e41
equal deleted inserted replaced
10372:1444b4bee64b 10373:093dcebe5ecb
73 73
74 dictionary = ClassBrowsers.scan( 74 dictionary = ClassBrowsers.scan(
75 self.__editor.text(), self.__filename, self.__module 75 self.__editor.text(), self.__filename, self.__module
76 ) 76 )
77 if dictionary is not None: 77 if dictionary is not None:
78 keys = list(dictionary.keys()) 78 keys = list(dictionary)
79 if len(keys) > 0: 79 if len(keys) > 0:
80 parentItem = self.rootItem 80 parentItem = self.rootItem
81 81
82 if repopulate: 82 if repopulate:
83 last = len(keys) - 1 83 last = len(keys) - 1
267 Class method to get the list of supported programming languages. 267 Class method to get the list of supported programming languages.
268 268
269 @return list of supported programming languages 269 @return list of supported programming languages
270 @rtype str 270 @rtype str
271 """ 271 """
272 return list(ClassBrowsers.ClassBrowserRegistry.keys()) + list( 272 return list(ClassBrowsers.ClassBrowserRegistry) + list(cls.SupportedLanguages)
273 cls.SupportedLanguages.keys()
274 )

eric ide

mercurial