Update preferences

This commit is contained in:
Veronica Berglyd Olsen
2024-05-13 17:51:16 +02:00
parent e1af21bf88
commit e5e3066b3d
3 changed files with 48 additions and 32 deletions
+1 -1
View File
@@ -160,7 +160,7 @@ class GuiDocHighlighter(QSyntaxHighlighter):
symC += CONFIG.fmtDQuoteClose
rxEnd = "|$" if CONFIG.allowOpenDial else ""
rxRule = QRegularExpression(f"(\\B[{symO}])(.*?)([{symC}]\\B{rxEnd})")
rxRule = QRegularExpression(f"\\B[{symO}].*?[{symC}]\\B{rxEnd}")
rxRule.setPatternOptions(QRegExUnicode)
hlRule = {
0: self._hStyles["dialog"],