mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-11 03:03:06 +00:00
Stupid me.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28743 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
2cefb12b22
commit
500add162b
@ -89,7 +89,7 @@ void LaTeXHighlighter::highlightBlock(QString const & text)
|
|||||||
if (startIndex == -1)
|
if (startIndex == -1)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
LASSERT(startIndex >= 0, return);
|
LASSERT(startIndex == -1, return);
|
||||||
|
|
||||||
// \whatever
|
// \whatever
|
||||||
static const QRegExp exprKeyword("\\\\[A-Za-z]+");
|
static const QRegExp exprKeyword("\\\\[A-Za-z]+");
|
||||||
@ -101,7 +101,7 @@ void LaTeXHighlighter::highlightBlock(QString const & text)
|
|||||||
if (index == -1)
|
if (index == -1)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
LASSERT(index >= 0, return);
|
LASSERT(index == -1, return);
|
||||||
|
|
||||||
// %comment
|
// %comment
|
||||||
// Treat a line as a comment starting at a percent sign
|
// Treat a line as a comment starting at a percent sign
|
||||||
@ -121,7 +121,7 @@ void LaTeXHighlighter::highlightBlock(QString const & text)
|
|||||||
if (index == -1)
|
if (index == -1)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
LASSERT(index >= 0, return);
|
LASSERT(index == -1, return);
|
||||||
|
|
||||||
// <LyX Warning: ...>
|
// <LyX Warning: ...>
|
||||||
QString lyxwarn = qt_("LyX Warning: ");
|
QString lyxwarn = qt_("LyX Warning: ");
|
||||||
@ -134,7 +134,7 @@ void LaTeXHighlighter::highlightBlock(QString const & text)
|
|||||||
if (index == -1)
|
if (index == -1)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
LASSERT(index >= 0, return);
|
LASSERT(index == -1, return);
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace frontend
|
} // namespace frontend
|
||||||
|
Loading…
Reference in New Issue
Block a user