mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix a regression that broke syntax highlighting in the compare books tool
This commit is contained in:
parent
e9daa12caf
commit
43d7a23a8a
@ -31,6 +31,7 @@ class QtHighlighter(QTextDocument):
|
||||
''' Copy specified lines from the syntax highlighted buffer into the
|
||||
destination cursor, preserving all formatting created by the syntax
|
||||
highlighter. '''
|
||||
self.highlighter.join()
|
||||
num = hi - lo
|
||||
if num > 0:
|
||||
block = self.findBlockByNumber(lo)
|
||||
|
Loading…
x
Reference in New Issue
Block a user