Re: [patch] fix cursor pos in tabular

2006-05-22 Thread Jean-Marc Lasgouttes
> "Juergen" == Juergen Spitzmueller <[EMAIL PROTECTED]> writes: Juergen> Now that I removed it, I remember why I put it there just a Juergen> few weeks ago (sic!): in order to fix bug 2526. Attached is a Juergen> patch that fixes bug 2556 for tabulars while leaving the Juergen> cursor inside t

Re: [patch] fix cursor pos in tabular

2006-05-22 Thread Juergen Spitzmueller
Juergen Spitzmueller wrote: > > It is probably this undispatched that makes the cursor quit. I'd > > propose to remove it (after testing). > > Excellent intuition. Your suspicion holds true. Now that I removed it, I remember why I put it there just a few weeks ago (sic!): in order to fix bug 2526

Re: [patch] fix cursor pos in tabular

2006-05-22 Thread Juergen Spitzmueller
Jean-Marc Lasgouttes wrote: > I do not really understand why the cursor jumps outside of the table, > actually. Thinking about it, it may be that we should remove the > following in LFUN_MOUSE_PRESS: > > // we'll pop up the table dialog on release > if (cmd.button()

Re: [patch] fix cursor pos in tabular

2006-05-22 Thread Jean-Marc Lasgouttes
> "Juergen" == Juergen Spitzmueller <[EMAIL PROTECTED]> writes: Juergen> I found the following small bug very annoying during the last Juergen> days: when you open the tabular dialog with rmb, the cursor Juergen> jumps out of the table. You have to click inside again, which Juergen> brings the

[patch] fix cursor pos in tabular

2006-05-20 Thread Juergen Spitzmueller
I found the following small bug very annoying during the last days: when you open the tabular dialog with rmb, the cursor jumps out of the table. You have to click inside again, which brings the tabular dialog in the background... The attached patch fixes that. OK for branch and trunk? Jürgen