mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 05:25:26 +00:00
Fix copy&paste error
This commit is contained in:
parent
901356fd58
commit
968be3f209
@ -137,7 +137,7 @@ void LaTeXHighlighter::highlightBlock(QString const & text)
|
|||||||
int length = match.capturedEnd(1) - index;
|
int length = match.capturedEnd(1) - index;
|
||||||
setFormat(index, length, mathFormat);
|
setFormat(index, length, mathFormat);
|
||||||
match = exprMath.match(text, index + length);
|
match = exprMath.match(text, index + length);
|
||||||
int index = match.capturedStart(1);
|
index = match.capturedStart(1);
|
||||||
}
|
}
|
||||||
// [ ]
|
// [ ]
|
||||||
static const QRegularExpression exprStartDispMath("(\\\\\\[|"
|
static const QRegularExpression exprStartDispMath("(\\\\\\[|"
|
||||||
|
Loading…
Reference in New Issue
Block a user