+2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
+
+ * math_symbols.C (math_insert_greek): Move cursor right when
+ unlocking the math inset.
+
2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
* math_parser.C (LexGetArg): Fix crash when loading corrupt files.
#include "support/lstrings.h"
#include "debug.h"
#include "lyxfunc.h"
+#include "lyxtext.h"
#include "formula.h"
// Update(1);//BUG
new_inset->Edit(bv, 0, 0, 0);
new_inset->LocalDispatch(bv, LFUN_SELFINSERT, tmp);
- if (greek_kb_flag_save < 2)
+ if (greek_kb_flag_save < 2) {
bv->unlockInset(new_inset); // bv->theLockingInset());
+ bv->text->CursorRight(bv, true);
+ }
} else
if (bv->theLockingInset()->LyxCode() == Inset::MATH_CODE ||
bv->theLockingInset()->LyxCode() == Inset::MATHMACRO_CODE)