Bugfixes for prompt syntax highlighting.

This commit is contained in:
Adam Treat
2023-06-12 08:34:59 -04:00
committed by AT
parent 60d95cdd9b
commit 68ff7001ad
2 changed files with 23 additions and 17 deletions

View File

@@ -626,9 +626,9 @@ Window {
}
Component.onCompleted: {
responseText.textDocument = textDocument
responseText.setLinkColor(theme.linkColor);
responseText.setHeaderColor(theme.backgroundLight);
responseText.setHeaderColor(name === qsTr("Response: ") ? theme.backgroundLight : theme.backgroundLighter);
responseText.textDocument = textDocument
}
Accessible.role: Accessible.Paragraph