Skip to content

Commit

Permalink
Fix editor refresh issues (#1573)
Browse files Browse the repository at this point in the history
  • Loading branch information
vkbo authored Nov 4, 2023
2 parents a50e79b + ee5f340 commit a3b60da
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions novelwriter/gui/doceditor.py
Original file line number Diff line number Diff line change
Expand Up @@ -359,6 +359,8 @@ def initEditor(self):
self.clearEditor()
else:
self.redrawText()
if not self._bigDoc:
self.highLight.rehighlight()

return True

Expand Down
1 change: 1 addition & 0 deletions novelwriter/guimain.py
Original file line number Diff line number Diff line change
Expand Up @@ -980,6 +980,7 @@ def showProjectWordListDialog(self) -> bool:
if dlgWords.result() == QDialog.Accepted:
logger.debug("Reloading word list")
SHARED.updateSpellCheckLanguage(reload=True)
self.docEditor.spellCheckDocument()

return True

Expand Down

0 comments on commit a3b60da

Please sign in to comment.