Re: [PATCH 1.4.x] bug 3019: Undo crash with nested font changes in math

2006-12-29 Thread Jean-Marc Lasgouttes
> "Jean-Marc" == Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: Jean-Marc> This patch fixes the following crash recipe: Jean-Marc> How to reproduce: - Open a (new) LyX document - Insert -> Jean-Marc> Math -> Inline Formula - Toggle emphasis twice - Undo Jean-Marc> The problem was that undo

[PATCH 1.4.x] bug 3019: Undo crash with nested font changes in math

2006-12-27 Thread Jean-Marc Lasgouttes
This patch fixes the following crash recipe: How to reproduce: - Open a (new) LyX document - Insert -> Math -> Inline Formula - Toggle emphasis twice - Undo The problem was that undo was called with the cursor at the wrong level. Testing welcome. I will commit tomorrow. JMarc Index: src/mathe