src/eric7/QScintilla/EditorOutlineModel.py

branch
eric7
changeset 9413
80c06d472826
parent 9221
bf71ee032bb4
child 9473
3f23dbf37dbe
--- a/src/eric7/QScintilla/EditorOutlineModel.py	Tue Oct 18 16:05:20 2022 +0200
+++ b/src/eric7/QScintilla/EditorOutlineModel.py	Tue Oct 18 16:06:21 2022 +0200
@@ -12,7 +12,7 @@
 
 from PyQt6.QtCore import QCoreApplication, QModelIndex
 
-from UI.BrowserModel import (
+from eric7.UI.BrowserModel import (
     BrowserModel,
     BrowserItem,
     BrowserClassItem,
@@ -24,7 +24,7 @@
     BrowserMethodItem,
 )
 
-import Preferences
+from eric7 import Preferences
 
 
 class EditorOutlineModel(BrowserModel):
@@ -76,35 +76,35 @@
         language = self.__editor.getLanguage()
         if language in EditorOutlineModel.SupportedLanguages:
             if language == "IDL":
-                from Utilities.ClassBrowsers import idlclbr
+                from eric7.Utilities.ClassBrowsers import idlclbr
 
                 dictionary = idlclbr.scan(
                     self.__editor.text(), self.__filename, self.__module
                 )
                 idlclbr._modules.clear()
             elif language == "Protocol":
-                from Utilities.ClassBrowsers import protoclbr
+                from eric7.Utilities.ClassBrowsers import protoclbr
 
                 dictionary = protoclbr.scan(
                     self.__editor.text(), self.__filename, self.__module
                 )
                 protoclbr._modules.clear()
             elif language == "Ruby":
-                from Utilities.ClassBrowsers import rbclbr
+                from eric7.Utilities.ClassBrowsers import rbclbr
 
                 dictionary = rbclbr.scan(
                     self.__editor.text(), self.__filename, self.__module
                 )
                 rbclbr._modules.clear()
             elif language == "JavaScript":
-                from Utilities.ClassBrowsers import jsclbr
+                from eric7.Utilities.ClassBrowsers import jsclbr
 
                 dictionary = jsclbr.scan(
                     self.__editor.text(), self.__filename, self.__module
                 )
                 jsclbr._modules.clear()
             elif language in ("Python3", "MicroPython", "Cython"):
-                from Utilities.ClassBrowsers import pyclbr
+                from eric7.Utilities.ClassBrowsers import pyclbr
 
                 dictionary = pyclbr.scan(
                     self.__editor.text(), self.__filename, self.__module

eric ide

mercurial