Michael Gerz wrote: > The second patch cannot be applied: Here's a fresh one. Note, however, that you have to revert the other fix first to get this applied.
Jürgen
Index: insettabular.C =================================================================== RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/insets/insettabular.C,v retrieving revision 1.483 diff -u -r1.483 insettabular.C --- insettabular.C 7 Aug 2005 18:36:21 -0000 1.483 +++ insettabular.C 4 Sep 2005 10:57:06 -0000 @@ -621,7 +621,7 @@ case LFUN_CUT: if (tablemode(cur)) { if (copySelection(cur)) { - recordUndo(cur, Undo::DELETE); + recordUndoInset(cur, Undo::DELETE); cutSelection(cur); } } @@ -631,9 +631,10 @@ case LFUN_BACKSPACE: case LFUN_DELETE: - recordUndo(cur, Undo::DELETE); - if (tablemode(cur)) + if (tablemode(cur)) { + recordUndoInset(cur, Undo::DELETE); cutSelection(cur); + } else cell(cur.idx())->dispatch(cur, cmd); break; @@ -720,7 +721,7 @@ case LFUN_PASTE: if (hasPasteBuffer()) { - recordUndo(cur, Undo::INSERT); + recordUndoInset(cur, Undo::INSERT); pasteSelection(cur); break; } @@ -1393,7 +1394,7 @@ break; } - recordUndo(cur, Undo::ATOMIC); + recordUndoInset(cur, Undo::ATOMIC); getSelection(cur, sel_row_start, sel_row_end, sel_col_start, sel_col_end); row_type const row = tabular.row_of_cell(cur.idx());