6 """ |
6 """ |
7 Module implementing the Selection Encloser plug-in. |
7 Module implementing the Selection Encloser plug-in. |
8 """ |
8 """ |
9 |
9 |
10 import contextlib |
10 import contextlib |
|
11 import json |
11 import os |
12 import os |
12 import json |
13 |
13 |
14 from PyQt6.QtCore import QCoreApplication, QObject, QTranslator, pyqtSlot |
14 from PyQt6.QtCore import pyqtSlot, QObject, QTranslator, QCoreApplication |
|
15 from PyQt6.QtGui import QAction |
15 from PyQt6.QtGui import QAction |
16 from PyQt6.QtWidgets import QMenu |
16 from PyQt6.QtWidgets import QMenu |
17 |
17 |
|
18 from eric7 import Preferences |
18 from eric7.EricWidgets.EricApplication import ericApp |
19 from eric7.EricWidgets.EricApplication import ericApp |
19 |
|
20 from eric7 import Preferences |
|
21 |
20 |
22 # Start-Of-Header |
21 # Start-Of-Header |
23 name = "Selection Encloser Plug-in" |
22 name = "Selection Encloser Plug-in" |
24 author = "Detlev Offenbach <detlev@die-offenbachs.de>" |
23 author = "Detlev Offenbach <detlev@die-offenbachs.de>" |
25 autoactivate = True |
24 autoactivate = True |