mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
2b06cffa0d
commit
8ebae8ebe5
@ -224,7 +224,7 @@ class TextEdit(PlainTextEdit):
|
|||||||
|
|
||||||
def change_document_name(self, newname):
|
def change_document_name(self, newname):
|
||||||
self.highlighter.doc_name = 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):
|
def replace_text(self, text):
|
||||||
c = self.textCursor()
|
c = self.textCursor()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user