#include "frontends/LyXView.h"
#include "frontends/Alert.h"
+#include "mathed/math_cursor.h"
#include "support/lstrings.h"
#include "Lsstream.h"
if (!bv->available())
return string();
+ if (mathcursor)
+ return mathcursor->info();
+
ostringstream state;
LyXText * text = bv->getLyXText();
LyXCursor & cursor = text->cursor;
text->computeBidiTables(bv->buffer(), cursor.row());
if (cursor.boundary() !=
- text->isBoundary(bv->buffer(), cursor.par(), cursor.pos(),
+ text->isBoundary(bv->buffer(), *cursor.par(), cursor.pos(),
text->real_current_font))
text->setCursor(cursor.par(), cursor.pos(),
false, !cursor.boundary());