Re: [Patch] Fix, crash on middle-mouse paste into math

2006-04-10 Thread Jean-Marc Lasgouttes
Martin == Martin Vermeer [EMAIL PROTECTED] writes: Martin Yes, that was the proper solution. Works, see attached. Nice. You can apply to 1.4 too. JMarc

Re: [Patch] Fix, crash on middle-mouse paste into math

2006-04-10 Thread Martin Vermeer
On Mon, 2006-04-10 at 11:25 +0200, Jean-Marc Lasgouttes wrote: Martin == Martin Vermeer [EMAIL PROTECTED] writes: Martin Yes, that was the proper solution. Works, see attached. Nice. You can apply to 1.4 too. That's in (phew). - Martin signature.asc Description: This is a digitally

Re: [Patch] Fix, crash on middle-mouse paste into math

2006-04-10 Thread Jean-Marc Lasgouttes
> "Martin" == Martin Vermeer <[EMAIL PROTECTED]> writes: Martin> Yes, that was the proper solution. Works, see attached. Nice. You can apply to 1.4 too. JMarc

Re: [Patch] Fix, crash on middle-mouse paste into math

2006-04-10 Thread Martin Vermeer
On Mon, 2006-04-10 at 11:25 +0200, Jean-Marc Lasgouttes wrote: > > "Martin" == Martin Vermeer <[EMAIL PROTECTED]> writes: > > Martin> Yes, that was the proper solution. Works, see attached. > > Nice. You can apply to 1.4 too. That's in (phew). - Martin signature.asc Description: This is

Re: [Patch] Fix, crash on middle-mouse paste into math

2006-04-09 Thread Martin Vermeer
On Fri, Apr 07, 2006 at 09:18:25PM +0300, Martin Vermeer wrote: On Fri, Apr 07, 2006 at 12:09:44PM +0200, Jean-Marc Lasgouttes wrote: Martin == Martin Vermeer [EMAIL PROTECTED] writes: ... Martin OK, I'll try moving the code over from Release to Press. Also, we should probably avoid

Re: [Patch] Fix, crash on middle-mouse paste into math

2006-04-09 Thread Martin Vermeer
On Fri, Apr 07, 2006 at 09:18:25PM +0300, Martin Vermeer wrote: > On Fri, Apr 07, 2006 at 12:09:44PM +0200, Jean-Marc Lasgouttes wrote: > > > "Martin" == Martin Vermeer <[EMAIL PROTECTED]> writes: ... > > Martin> OK, I'll try moving the code over from Release to Press. > > > > Also, we

Re: [Patch] Fix, crash on middle-mouse paste into math

2006-04-07 Thread Jean-Marc Lasgouttes
Martin == Martin Vermeer [EMAIL PROTECTED] writes: Martin This patch fixes that, and bug 2485: text is pasted twice, Martin into formula and into text. Martin The first part of the patch fixes 2485. I don't see while Martin middle-mouse insertion of the selection (clipboard) should be Martin

Re: [Patch] Fix, crash on middle-mouse paste into math

2006-04-07 Thread Martin Vermeer
On Fri, 2006-04-07 at 11:39 +0200, Jean-Marc Lasgouttes wrote: Martin == Martin Vermeer [EMAIL PROTECTED] writes: Martin This patch fixes that, and bug 2485: text is pasted twice, Martin into formula and into text. Martin The first part of the patch fixes 2485. I don't see while Martin

Re: [Patch] Fix, crash on middle-mouse paste into math

2006-04-07 Thread Jean-Marc Lasgouttes
Martin == Martin Vermeer [EMAIL PROTECTED] writes: Martin Nothing. Nothing at all. An LFUN_PASTESELECTION is dispatched, Martin apparently with the existing cursor position. Martin In the scenario described in the bug report, that cursor Martin position will be somewhere in texted, where text

Re: [Patch] Fix, crash on middle-mouse paste into math

2006-04-07 Thread Martin Vermeer
On Fri, Apr 07, 2006 at 12:09:44PM +0200, Jean-Marc Lasgouttes wrote: Martin == Martin Vermeer [EMAIL PROTECTED] writes: Martin Nothing. Nothing at all. An LFUN_PASTESELECTION is dispatched, Martin apparently with the existing cursor position. Martin In the scenario described in the bug

Re: [Patch] Fix, crash on middle-mouse paste into math

2006-04-07 Thread Jean-Marc Lasgouttes
> "Martin" == Martin Vermeer <[EMAIL PROTECTED]> writes: Martin> This patch fixes that, and bug 2485: text is pasted twice, Martin> into formula and into text. Martin> The first part of the patch fixes 2485. I don't see while Martin> middle-mouse insertion of the selection (clipboard) should

Re: [Patch] Fix, crash on middle-mouse paste into math

2006-04-07 Thread Martin Vermeer
On Fri, 2006-04-07 at 11:39 +0200, Jean-Marc Lasgouttes wrote: > > "Martin" == Martin Vermeer <[EMAIL PROTECTED]> writes: > > Martin> This patch fixes that, and bug 2485: text is pasted twice, > Martin> into formula and into text. > > Martin> The first part of the patch fixes 2485. I don't

Re: [Patch] Fix, crash on middle-mouse paste into math

2006-04-07 Thread Jean-Marc Lasgouttes
> "Martin" == Martin Vermeer <[EMAIL PROTECTED]> writes: Martin> Nothing. Nothing at all. An LFUN_PASTESELECTION is dispatched, Martin> apparently with the existing cursor position. Martin> In the scenario described in the bug report, that cursor Martin> position will be somewhere in texted,

Re: [Patch] Fix, crash on middle-mouse paste into math

2006-04-07 Thread Martin Vermeer
On Fri, Apr 07, 2006 at 12:09:44PM +0200, Jean-Marc Lasgouttes wrote: > > "Martin" == Martin Vermeer <[EMAIL PROTECTED]> writes: > > Martin> Nothing. Nothing at all. An LFUN_PASTESELECTION is dispatched, > Martin> apparently with the existing cursor position. > > Martin> In the scenario

[Patch] Fix, crash on middle-mouse paste into math

2006-04-06 Thread Martin Vermeer
This patch fixes that, and bug 2485: text is pasted twice, into formula and into text. The first part of the patch fixes 2485. I don't see while middle-mouse insertion of the selection (clipboard) should be done both for mouse press and for mouse release... just deleted the first. (There may be

[Patch] Fix, crash on middle-mouse paste into math

2006-04-06 Thread Martin Vermeer
This patch fixes that, and bug 2485: text is pasted twice, into formula and into text. The first part of the patch fixes 2485. I don't see while middle-mouse insertion of the selection (clipboard) should be done both for mouse press and for mouse release... just deleted the first. (There may be