mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
6ee7e7af46
commit
ff10e92b1b
@ -591,7 +591,7 @@ class TextEdit(PlainTextEdit):
|
||||
block = c.block()
|
||||
while block.isValid():
|
||||
for r in block.layout().additionalFormats():
|
||||
if r.format.property(SPELL_PROPERTY).toBool() and self.text_for_range(block, r) == word:
|
||||
if r.format.property(SPELL_PROPERTY) and self.text_for_range(block, r) == word:
|
||||
self.highlighter.reformat_block(block)
|
||||
break
|
||||
block = block.next()
|
||||
|
Loading…
x
Reference in New Issue
Block a user