7 Module implementing a compatability interface class to QsciScintilla. |
7 Module implementing a compatability interface class to QsciScintilla. |
8 """ |
8 """ |
9 |
9 |
10 import contextlib |
10 import contextlib |
11 |
11 |
12 from PyQt6.QtCore import pyqtSignal, Qt, QPoint |
12 from PyQt6.Qsci import QSCINTILLA_VERSION as QSCIQSCINTILLA_VERSION |
13 from PyQt6.QtGui import QPalette, QColor |
13 from PyQt6.Qsci import QsciScintilla, QsciScintillaBase |
|
14 from PyQt6.QtCore import QPoint, Qt, pyqtSignal |
|
15 from PyQt6.QtGui import QColor, QPalette |
14 from PyQt6.QtWidgets import QApplication, QListWidget |
16 from PyQt6.QtWidgets import QApplication, QListWidget |
15 from PyQt6.Qsci import ( |
|
16 QsciScintillaBase, |
|
17 QsciScintilla, |
|
18 QSCINTILLA_VERSION as QSCIQSCINTILLA_VERSION, |
|
19 ) |
|
20 |
17 |
21 ############################################################################### |
18 ############################################################################### |
22 |
19 |
23 |
20 |
24 def QSCINTILLA_VERSION(): |
21 def QSCINTILLA_VERSION(): |