4 # |
4 # |
5 |
5 |
6 """ |
6 """ |
7 Module implementing the editor component of the eric5 IDE. |
7 Module implementing the editor component of the eric5 IDE. |
8 """ |
8 """ |
9 |
|
10 import os |
9 import os |
11 import re |
10 import re |
12 import difflib |
11 import difflib |
13 |
12 |
14 from PyQt4.Qsci import QsciScintilla, QsciMacro |
13 from PyQt4.QtCore import QDir, QTimer, QModelIndex, QFileInfo, pyqtSignal, \ |
15 try: |
14 QCryptographicHash, QEvent, QDateTime, QRegExp, Qt |
16 from PyQt4.Qsci import QsciStyledText |
15 from PyQt4.QtGui import QCursor, QPrinter, QPrintDialog, QLineEdit, QActionGroup, \ |
17 except ImportError: |
16 QDialog, QAbstractPrintDialog, QInputDialog, QApplication, QMenu, QPalette, QFont |
18 QsciStyledText = None # __IGNORE_WARNING__ |
17 from PyQt4.Qsci import QsciScintilla, QsciMacro, QsciStyledText |
19 from PyQt4.QtCore import * |
|
20 from PyQt4.QtGui import * |
|
21 |
18 |
22 from E5Gui.E5Application import e5App |
19 from E5Gui.E5Application import e5App |
23 from E5Gui import E5FileDialog, E5MessageBox |
20 from E5Gui import E5FileDialog, E5MessageBox |
24 |
21 |
25 from . import Exporters |
22 from . import Exporters |