mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-08 10:11:21 +00:00
Fix cursor bug with math greek mode.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_1_6@1443 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
1bd47d82c4
commit
02a65cf1b1
@ -1,3 +1,8 @@
|
||||
2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
|
||||
|
||||
* src/mathed/math_symbols.C (math_insert_greek): Move cursor right
|
||||
when unlocking the math inset.
|
||||
|
||||
2001-02-02 John Levon <moz@compsoc.man.ac.uk>
|
||||
|
||||
* lib/Makefile.am: fix permissions on configure and
|
||||
|
@ -33,6 +33,7 @@
|
||||
#include "support/lstrings.h"
|
||||
#include "debug.h"
|
||||
#include "lyxfunc.h"
|
||||
#include "lyxtext.h"
|
||||
|
||||
#include "formula.h"
|
||||
|
||||
@ -349,8 +350,10 @@ bool math_insert_greek(BufferView * bv, char c)
|
||||
// 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)
|
||||
|
Loading…
Reference in New Issue
Block a user