On Tue, Sep 06, 2005 at 12:05:32PM +0300, Martin Vermeer wrote: > On Tue, 2005-09-06 at 09:45 +0200, Juergen Spitzmueller wrote: > > Martin Vermeer wrote: > > > I may be missing something, but wouldn't it be simpler to just > > > empty/invalidate the tabular paste buffer whenever the text paste buffer > > > is being filled by a cut/copy (and thus becomes fresher)? That way you > > > don't have to introduce an extra state tracking boolean. > > > > I thought about this too. But then cutandpaste has to have access to > > insettabular, which I don't found a good idea. > > This explanation crossed my mind too, but can it be true? You only need > access to paste_tabular, which is a pointer. And isn't it global anyway? > You have only one tabular paste buffer for all of LyX. What about moving > this over to CutAndPaste?
This would be the first step towards that 'unified cut&paste scheme using a tabular buffer everywhere'... Andre'