[patch] fix bug 2377 (Cannot paste multiple table cells after cut)

2006-03-16 Thread Georg Baum
This is an easy one: http://bugzilla.lyx.org/show_bug.cgi?id=2377 It is a simple oversight that the tabular cutr buffer is only marked dirty for copy, but not for cut. The attached patch fixes that. It was tested by Simon and goes into trunk now. Log message: InsetTabular::pasteSelection: mark t

Re: [patch] fix bug 2377 (Cannot paste multiple table cells after cut)

2006-03-16 Thread Georg Baum
Am Donnerstag, 16. März 2006 20:54 schrieb Georg Baum: > This is an easy one: http://bugzilla.lyx.org/show_bug.cgi?id=2377 > It is a simple oversight that the tabular cutr buffer is only marked dirty > for copy, but not for cut. > The attached patch fixes that. It was tested by Simon and goes int

Re: [patch] fix bug 2377 (Cannot paste multiple table cells after cut)

2006-03-17 Thread Juergen Spitzmueller
Georg Baum wrote: > Forget it. The patch is wrong, and I don't understand why it worked. In > fact, I don't understand where the tabular paste buffer is filled at all > when cutting. AFAICS on a quick look, it's just a getStatus problem of LFUN_PASTE. I'm just compiling a possible fix. I'll post

Re: [patch] fix bug 2377 (Cannot paste multiple table cells after cut)

2006-03-17 Thread Juergen Spitzmueller
Juergen Spitzmueller wrote: > AFAICS on a quick look, it's just a getStatus problem of LFUN_PASTE. I'm > just compiling a possible fix. I'll post it on bugzilla if it works. OK, here's the patch. I think this is the correct fix. Jürgen Index: src/insets/insettabular.C

Re: [patch] fix bug 2377 (Cannot paste multiple table cells after cut)

2006-03-17 Thread Jean-Marc Lasgouttes
> "Juergen" == Juergen Spitzmueller <[EMAIL PROTECTED]> writes: Juergen> Juergen Spitzmueller wrote: >> AFAICS on a quick look, it's just a getStatus problem of >> LFUN_PASTE. I'm just compiling a possible fix. I'll post it on >> bugzilla if it works. Juergen> OK, here's the patch. I think th

Re: [patch] fix bug 2377 (Cannot paste multiple table cells after cut)

2006-03-17 Thread Georg Baum
Juergen Spitzmueller wrote: > Juergen Spitzmueller wrote: >> AFAICS on a quick look, it's just a getStatus problem of LFUN_PASTE. I'm >> just compiling a possible fix. I'll post it on bugzilla if it works. > > OK, here's the patch. I think this is the correct fix. It works fine for me, I think y

Re: [patch] fix bug 2377 (Cannot paste multiple table cells after cut)

2006-03-17 Thread Juergen Spitzmueller
Jean-Marc Lasgouttes wrote: > It looks good. If georg can confirm that it works, it can go in trunk > and branch. Done. Jürgen P.S.: I also switched to non-ChangeLog mode for trunk, but keep on using ChangeLogs for branch.

Re: [patch] fix bug 2377 (Cannot paste multiple table cells after cut)

2006-03-17 Thread Jean-Marc Lasgouttes
> "Juergen" == Juergen Spitzmueller <[EMAIL PROTECTED]> writes: Juergen> P.S.: I also switched to non-ChangeLog mode for trunk, but Juergen> keep on using ChangeLogs for branch. Good man. JMarc