Re: Bug fix for #2306

2007-02-09 Thread Michael Gerz
Hello, this patch fixes an important CT usability problem (#2306). Georg, thanks for pointing me to a nice technical solution! Michael Author: schmitt Date: Fri Feb 9 11:27:41 2007 New Revision: 17122 URL: http://www.lyx.org/trac/changeset/17122 Log: * src/CutAndPaste.C: copySelect

Re: Bug fix for #2306

2007-02-09 Thread Georg Baum
Michael Gerz wrote: > +// do not copy text (also nested in insets) which is marked as > deleted > +// FIXME: acceptChanges() is defined for LyXText rather than > ParagraphList > +// Therefore we must wrap 'paragraphs' into a LyXText object and > cross our fingers > +

Bug fix for #2306

2007-02-08 Thread Michael Gerz
Hi, this patch fixes bug #2306. The code looks a bit clumsy but I see no better solution with the current architecture. Is it acceptable for you? Michael Index: CutAndPaste.C === --- CutAndPaste.C (Revision 17120) +++ CutAndPaste