mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-08 16:43:40 +02:00
Fix a regression that broke syntax highlighting in the compare books tool
This commit is contained in:
parent
e9daa12caf
commit
43d7a23a8a
1 changed files with 1 additions and 0 deletions
|
|
@ -31,6 +31,7 @@ def copy_lines(self, lo, hi, cursor):
|
|||
''' 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…
Reference in a new issue