Skip to content

Commit

Permalink
Fix highlighting "with"
Browse files Browse the repository at this point in the history
  • Loading branch information
kovben2004 committed Dec 31, 2024
1 parent 3802a19 commit 3c6ca66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qt/highlighter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Highlighter::Highlighter(QTextDocument *parent)

conjunctiveFormat.setForeground(QColorConstants::Svg::orange);
const QString conjunctivePatterns[] = {
QStringLiteral("\\bconnects\\b"), QStringLiteral("\\with\\b"), QStringLiteral("\\bbased[\\s]+on\\b"),
QStringLiteral("\\bconnects\\b"), QStringLiteral("\\bwith\\b"), QStringLiteral("\\bbased[\\s]+on\\b"),
QStringLiteral("\\bthat\\b"), QStringLiteral("\\balso\\b"), QStringLiteral("\\band\\b"),
QStringLiteral("\\bmoreover\\b")};
for (const QString &pattern : conjunctivePatterns) {
Expand Down

0 comments on commit 3c6ca66

Please sign in to comment.