EditorOutlineModel: fixed an issue causing ProtoBuf files not being outlined.

Wed, 09 Sep 2020 18:05:58 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Wed, 09 Sep 2020 18:05:58 +0200
changeset 7697
c981a807aab1
parent 7696
f7e2cb3fc9d4
child 7698
12cb12380a6a

EditorOutlineModel: fixed an issue causing ProtoBuf files not being outlined.

eric6/QScintilla/EditorOutlineModel.py file | annotate | diff | comparison | revisions
--- a/eric6/QScintilla/EditorOutlineModel.py	Wed Sep 09 18:04:21 2020 +0200
+++ b/eric6/QScintilla/EditorOutlineModel.py	Wed Sep 09 18:05:58 2020 +0200
@@ -64,7 +64,7 @@
                 dictionary = idlclbr.scan(
                     self.__editor.text(), self.__filename, self.__module)
                 idlclbr._modules.clear()
-            elif language == "ProtoBuf":
+            elif language == "Protocol":
                 from Utilities.ClassBrowsers import protoclbr
                 dictionary = protoclbr.scan(
                     self.__editor.text(), self.__filename, self.__module)

eric ide

mercurial