Commits

Henning Schröder committed 7f8fd43

simple highlighter

  • Participants
  • Parent commits 5aa438b

Comments (0)

Files changed (1)

    QSyntaxHighlighter, QTextCharFormat, QColor)
 
 
+class DefaultColorScheme:
+    syntax_keyword="#808000" # darkYellow
+    syntax_builtin="brown" 
+    syntax_magic="magenta"
+    syntax_self="darkMagenta"
+    syntax_comment="darkGray"
+    syntax_string="darkGreen"
+    syntax_number="darkBlue"
+scheme = DefaultColorScheme
+
 
 class PythonHighlighter(QSyntaxHighlighter):