--- a/eric6/QScintilla/EditorOutlineModel.py Tue Feb 23 17:31:36 2021 +0100 +++ b/eric6/QScintilla/EditorOutlineModel.py Tue Feb 23 17:38:12 2021 +0100 @@ -25,7 +25,8 @@ Class implementing the editor outline model. """ SupportedLanguages = ( - "IDL", "JavaScript", "Protocol", "Python3", "MicroPython", "Ruby", + "IDL", "JavaScript", "Protocol", "Python3", "MicroPython", "Cython", + "Ruby", ) def __init__(self, editor, populate=True): @@ -81,7 +82,7 @@ dictionary = jsclbr.scan( self.__editor.text(), self.__filename, self.__module) jsclbr._modules.clear() - elif language in ("Python3", "MicroPython"): + elif language in ("Python3", "MicroPython", "Cython"): from Utilities.ClassBrowsers import pyclbr dictionary = pyclbr.scan( self.__editor.text(), self.__filename, self.__module)