On 15-Apr-2002 Andre Poenitz wrote: > > Could you check whether the attached patch makes a difference?
Well yes it works on Buffer change now, but the values are still wrong, you just compensate them in the edit() call now! Practically you would have to use the x/y code you use in ::insetButtonPress()! So if I get edit(bv, 0, 0, 0) then it's the start of the inset! You didn't understand the "relative" x/y problem I explained in my first mail, isn't it? I try it with other words a math inset in the middle of a row (which say starts at x position 200) will have as x position in the call to edit AND insetButtonPress 0 if I press BEFORE the first character INSIDE the inset. Hope this is clearer, Jug -- -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._ Dr. Jürgen Vigna E-Mail: [EMAIL PROTECTED] Italienallee 13/N Tel/Fax: +39-0471-450260 / +39-0471-450253 I-39100 Bozen Web: http://www.sad.it/~jug -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._ Before borrowing money from a friend, decide which you need more. -- Addison H. Hallock