On Tue, May 30, 2000 at 12:33:11PM +0200, Juergen Vigna wrote:
> Well to tell you the truth no I didn't sort them by hand, I did cut&paste
> them in, you know that you can paste a 'tab' delimited file directly inside
> a tabular and it will put the single columns/rows in the right cell. So
> I actually had a textfile which was sorted with sort and then I just pasted
> it in #:O).

I've found a bug in this code: create a 2x2 table,
put "1\t2\n3\t4\n" into the X clipboard, and paste it into the first cell in
the table -> LyX crashes.
The attached patch fixes this bug.

> 
> So what I would like to make is an export function for tabulars wich export
> only the tabular in a form cell<separator>cell<separator>...<cell>'\n'.
> 

There is already such a feature: mark the table in LyX, and paste (with
the middle mouse button) into an external editor.
Currently, the separator is space, but changing it to tab is trivial
(the change should be in LyXParagraph::String(size_type, size_type)).

patch.gz

Reply via email to