13 from pygments.lexers import guess_lexer_for_filename, guess_lexer, find_lexer_class |
13 from pygments.lexers import guess_lexer_for_filename, guess_lexer, find_lexer_class |
14 from pygments.util import ClassNotFound |
14 from pygments.util import ClassNotFound |
15 |
15 |
16 from PyQt6.QtGui import QColor, QFont |
16 from PyQt6.QtGui import QColor, QFont |
17 |
17 |
18 from QScintilla.Lexers.LexerContainer import LexerContainer |
18 from eric7.QScintilla.Lexers.LexerContainer import LexerContainer |
19 |
19 |
20 import Utilities |
20 from eric7 import Utilities |
21 |
21 |
22 PYGMENTS_DEFAULT = 0 |
22 PYGMENTS_DEFAULT = 0 |
23 PYGMENTS_COMMENT = 1 |
23 PYGMENTS_COMMENT = 1 |
24 PYGMENTS_PREPROCESSOR = 2 |
24 PYGMENTS_PREPROCESSOR = 2 |
25 PYGMENTS_KEYWORD = 3 |
25 PYGMENTS_KEYWORD = 3 |