mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
72d6fbf213
commit
5194927aca
@ -452,7 +452,7 @@ class Highlighter(QSyntaxHighlighter):
|
||||
|
||||
# }}}
|
||||
|
||||
class Editor(QWidget):
|
||||
class Editor(QWidget): # {{{
|
||||
|
||||
def __init__(self, parent=None):
|
||||
QWidget.__init__(self, parent)
|
||||
@ -544,6 +544,8 @@ class Editor(QWidget):
|
||||
def code_dirtied(self, *args):
|
||||
self.source_dirty = True
|
||||
|
||||
# }}}
|
||||
|
||||
if __name__ == '__main__':
|
||||
app = QApplication([])
|
||||
w = Editor()
|
||||
|
Loading…
x
Reference in New Issue
Block a user