Fix crash with S-Home while entering a macro name (bug 2046)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_3_X@10527 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2005-10-06 09:34:35 +00:00
parent 4e51468a4f
commit 6019b31bbe
3 changed files with 10 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2005-10-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
* math_cursor.C (home, end): close macro before handling selection
(bug 2046)
2005-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
* math_factory.C (initSymbols): Don't require wasysym for the wasy

View File

@ -292,8 +292,8 @@ bool MathCursor::home(bool sel)
{
dump("home 1");
autocorrect_ = false;
selHandle(sel);
macroModeClose();
selHandle(sel);
if (!par()->idxHome(idx(), pos()))
return popLeft();
dump("home 2");
@ -306,8 +306,8 @@ bool MathCursor::end(bool sel)
{
dump("end 1");
autocorrect_ = false;
selHandle(sel);
macroModeClose();
selHandle(sel);
if (!par()->idxEnd(idx(), pos()))
return popRight();
dump("end 2");

View File

@ -19,6 +19,7 @@ What's new
** Updates
- Update German Introduction and Tutorial.
** Bug fixes
@ -26,6 +27,8 @@ What's new
- Don't load the wasysym package automatically anymore (bug 1942)
- Fix crash with S-Home while entering a macro name (bug 2046)
* User Interface:
- Fix wrong path when drag-and-dropping files on Windows. [Qt only]