Complete all current document viewer features in the qdoc class

This commit is contained in:
Veronica Berglyd Olsen
2024-05-23 21:29:47 +02:00
parent e998cb634e
commit b4c0bf3322
3 changed files with 57 additions and 51 deletions
+1 -2
View File
@@ -203,8 +203,7 @@ class GuiDocViewer(QTextBrowser):
sPos = self.verticalScrollBar().value()
qDoc = ToQTextDocument(SHARED.project)
qDoc.setFont(CONFIG.textFont)
qDoc.initDocument()
qDoc.initDocument(CONFIG.textFont)
qDoc.setKeywords(True)
qDoc.setComments(CONFIG.viewComments)
qDoc.setSynopsis(CONFIG.viewSynopsis)