mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-04-21 17:22:57 +02:00
...
This commit is contained in:
parent
2b06cffa0d
commit
8ebae8ebe5
1 changed files with 1 additions and 1 deletions
|
|
@ -224,7 +224,7 @@ def load_text(self, text, syntax='html', process_template=False, doc_name=None):
|
|||
|
||||
def change_document_name(self, newname):
|
||||
self.highlighter.doc_name = newname
|
||||
self.highlighter.rehighlight() # Ensure links are checked w.r.t. to the new name correctly
|
||||
self.highlighter.rehighlight() # Ensure links are checked w.r.t. the new name correctly
|
||||
|
||||
def replace_text(self, text):
|
||||
c = self.textCursor()
|
||||
|
|
|
|||
Loading…
Reference in a new issue