RE: mathed77.diff

2001-05-24 Thread Juergen Vigna
On 24-May-2001 Andre Poenitz wrote: Maybe someon could help with the latter: If I have a formula like $Iaaa$ everything is fine. If I have a formula like b

Re: mathed77.diff

2001-05-24 Thread Andre Poenitz
b $a-aaIaaa$ c Yes this is a general problem no only of the math-inset. The problem is the cursor positioning after the mouseclick. Ok, that's all I need to know. I hereby solemnly declare this as a non-issue for

Re: mathed77.diff

2001-05-24 Thread Andre Poenitz
I planed to have a look at it but if someone beats me I'm happy (you probably already noted that I'm extremly bussy with REAL job this time) Ok: Following suspicion: One you click to the left half of an equation/table/other large inset, the cursor outside the inset is set to the position

Re: mathed77.diff

2001-05-24 Thread Andre Poenitz
Ok: Following suspicion: Confirmed. The clicks get passed to our insets if the if(...) in text.C:3488 is replaced by 'if (true)' which (I think) is forcing to choose the left position all the time if the cursor is somewhere between two positions. Andre' PS: Uh... and did I mention that the

Re: mathed77.diff

2001-05-24 Thread Juergen Vigna
On 24-May-2001 Andre Poenitz wrote: Ok: Following suspicion: One you click to the left half of an equation/table/other large inset, the cursor outside the inset is set to the position _before_ the inset, otherwise _after_ the inset. (LyxText::GetColumnNearX) The tests seem to be based

Re: mathed77.diff

2001-05-24 Thread Andre Poenitz
Did you have a look at CheckInsetHit? There is a check for both posibilities! No, I did not scroll that far down. Anyway, I think it is fixable outside of Mathed so it's not my business ;-} Andre' -- André Pönitz . [EMAIL PROTECTED]

Re: mathed77.diff

2001-05-24 Thread Allan Rae
On Thu, 24 May 2001, Andre Poenitz wrote: Did you have a look at CheckInsetHit? There is a check for both posibilities! No, I did not scroll that far down. Anyway, I think it is fixable outside of Mathed so it's not my business ;-} Be careful of falling into that trap. That's the way we

RE: mathed77.diff

2001-05-24 Thread Juergen Vigna
On 24-May-2001 Andre Poenitz wrote: > Maybe someon could help with the latter: > > If I have a formula like > >$Iaaa$ > > everything is fine. > > If I have a formula like > > b >

Re: mathed77.diff

2001-05-24 Thread Andre Poenitz
> > b > >$a-aaIaaa$ > > c > > Yes this is a general problem no only of the math-inset. The problem is > the cursor positioning after the mouseclick. Ok, that's all I need to know. I hereby solemnly declare this as a

Re: mathed77.diff

2001-05-24 Thread Andre Poenitz
> I planed to have a look at it but if someone beats me I'm happy (you > probably already noted that I'm extremly bussy with REAL job this time) Ok: Following suspicion: One you click to the left half of an equation/table/other large inset, the cursor outside the inset is set to the position

Re: mathed77.diff

2001-05-24 Thread Andre Poenitz
> Ok: Following suspicion: Confirmed. The clicks get passed to our insets if the if(...) in text.C:3488 is replaced by 'if (true)' which (I think) is forcing to choose the left position all the time if the cursor is somewhere between two positions. Andre' PS: Uh... and did I mention that

Re: mathed77.diff

2001-05-24 Thread Juergen Vigna
On 24-May-2001 Andre Poenitz wrote: > Ok: Following suspicion: > > One you click to the left half of an equation/table/other large inset, > the cursor outside the inset is set to the position _before_ the inset, > otherwise _after_ the inset. (LyxText::GetColumnNearX) > > The tests seem to be

Re: mathed77.diff

2001-05-24 Thread Andre Poenitz
> Did you have a look at CheckInsetHit? There is a check for both posibilities! No, I did not scroll that far down. Anyway, I think it is fixable outside of Mathed so it's not my business ;-} Andre' -- André Pönitz . [EMAIL PROTECTED]

Re: mathed77.diff

2001-05-24 Thread Allan Rae
On Thu, 24 May 2001, Andre Poenitz wrote: > > Did you have a look at CheckInsetHit? There is a check for both posibilities! > > No, I did not scroll that far down. > > Anyway, I think it is fixable outside of Mathed so it's not my business ;-} Be careful of falling into that trap. That's the