mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-23 00:38:01 +00:00
forgot a case...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2628 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
63adecdf8a
commit
1ac1b8e07b
@ -1289,6 +1289,11 @@ void MathCursor::interpret(string const & s)
|
|||||||
|
|
||||||
if (lastcode_ == LM_TC_TEX) {
|
if (lastcode_ == LM_TC_TEX) {
|
||||||
if (macroName().empty()) {
|
if (macroName().empty()) {
|
||||||
|
if (strchr("#$%{|}", c)) {
|
||||||
|
insert(new MathCharInset(c, LM_TC_TEX));
|
||||||
|
lastcode_ = LM_TC_VAR;
|
||||||
|
return;
|
||||||
|
}
|
||||||
insert(c, LM_TC_TEX);
|
insert(c, LM_TC_TEX);
|
||||||
if (!isalpha(c)) {
|
if (!isalpha(c)) {
|
||||||
macroModeClose();
|
macroModeClose();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user