On Wed, Jan 03, 2001 at 05:14:52PM +0100, Juergen Vigna wrote:

> > 6. It is not possible to paste tab separated text form the X clipboard
> > into different cells like in 1.1.5
> 
> Added! (LFUN_PASTESELECTION middle mouse button)

I've found two bugs with this code:
Suppose we have a 2x2 table
a  b
c  d

the clipboard contains "1\t2\n" (\t=tab, \n=newline), and the 3rd mouse
button is pressed at the top left cell. The result is
1  2
-  -  (- means empty)

while the expected result is
1 2
c d

Furthermore, if the clipboard contains "1\t2" or "1\t" then pressing the 3rd
mouse button at the top left (or any other) cell cause a crash.

Reply via email to