mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
Another tiny correction (not yet ideal)
This commit is contained in:
parent
7640d1fbf5
commit
649cb30963
@ -50,7 +50,7 @@ void LaTeXHighlighter::highlightBlock(QString const & text)
|
||||
if (keyval_) {
|
||||
// Highlight key-val options. Used in some option widgets.
|
||||
// 1. The keys. Might or might not have values
|
||||
static QRegularExpression exprKeyvalkey("[^=,{]+");
|
||||
static QRegularExpression exprKeyvalkey("[^=,}]+");
|
||||
// 2. These are grouped values such as "key1={val,val},key2=val"
|
||||
static QRegularExpression exprKeyvalgval("[^=,{]+{[^}]+}");
|
||||
// 3. And normal values if we don't find grouped ones
|
||||
|
Loading…
Reference in New Issue
Block a user