]> git.lyx.org Git - lyx.git/blobdiff - src/Cursor.cpp
Move bind file format tag to LyXAction.cpp, and rename it.
[lyx.git] / src / Cursor.cpp
index f2a61c28cc1c90df04a71ed647af348e0cd115fe..075577c783cc69eb792c66ea59ea15ef3c84c12d 100644 (file)
@@ -1624,7 +1624,7 @@ bool Cursor::inMacroMode() const
 {
        if (!inMathed())
                return false;
-       if (pos() == 0)
+       if (pos() == 0 || cell().empty())
                return false;
        InsetMathUnknown const * p = prevAtom()->asUnknownInset();
        return p && !p->final();