Re: Crash right-clicking math.

2002-04-24 Thread Juergen Vigna
On 24-Apr-2002 Andre Poenitz wrote: > That's kind of you. #:O) > But what is the additional 'if !mathcursor' in 'case 1' good for? > > If we click in an inset for the very first time, we need to create the > cursor. Or is this done in the edit() call? > > As I said, I am lost... What do you

Re: Crash right-clicking math.

2002-04-24 Thread Andre Poenitz
On Wed, Apr 24, 2002 at 11:02:00AM +0200, Juergen Vigna wrote: > IMO a quick fix would be to check for button 3 only at the end of the > function. > Well while writing this mail I had a look at the source and just fixed it ;) That's kind of you. But what is the additional 'if !mathcursor' in 'c

Re: Crash right-clicking math.

2002-04-24 Thread Juergen Vigna
On 24-Apr-2002 Andre Poenitz wrote: > On Wed, Apr 24, 2002 at 09:25:10AM +0200, Juergen Vigna wrote: >> > Right clicking any math environment while the cursor isn't inside it >> > brings the math panel up as expected, but then tring to insert any symbol >> > with it will lead to a crash. >> >> A

Re: Crash right-clicking math.

2002-04-24 Thread Andre Poenitz
On Wed, Apr 24, 2002 at 09:25:10AM +0200, Juergen Vigna wrote: > > Right clicking any math environment while the cursor isn't inside it > > brings the math panel up as expected, but then tring to insert any symbol > > with it will lead to a crash. > > Andre I think you forget to to a bv->lockInse

RE: Crash right-clicking math.

2002-04-24 Thread Juergen Vigna
On 24-Apr-2002 Joao Luis Meloni Assirati wrote: > > Hi, > > I'm using the latest cvs. > > Right clicking any math environment while the cursor isn't inside it > brings the math panel up as expected, but then tring to insert any symbol > with it will lead to a crash. Andre I think you forget t

Crash right-clicking math.

2002-04-24 Thread Joao Luis Meloni Assirati
Hi, I'm using the latest cvs. Right clicking any math environment while the cursor isn't inside it brings the math panel up as expected, but then tring to insert any symbol with it will lead to a crash. Reproducible minimal example: 1) start lyx, open a new document; 2) create an inline math