Commits

Henning Schröder committed a8f4203

bugfix

Comments (0)

Files changed (1)

 # -*- coding: utf-8 -*-
 import sys
 from PyQt4.QtGui import QApplication, QMainWindow, QPlainTextEdit, QFont
-from highlighter import SyntaxHighlighter, load_syntax, Format
+from highlighter import SyntaxHighlighter, load_syntax, Format, TextCharFormat
 from highlighter.python27 import syntax
 #from highlighter.js import syntax
 
         row = tc.blockNumber()
         col = tc.positionInBlock()
         cf = tc.charFormat()
-        name = cf.stringProperty(Format.NAME)
+        name = cf.stringProperty(TextCharFormat.NAME)
         self.setWindowTitle("cf: %s (%s,%s)" % (name, row, col))