Andre',
the mathed insets are returning wrong values for this function. Please
head that the values should be relative to the inset position or inside
the inset they should be absolute to itself!
You now return absolut position which is wrong. Try to change buffer while
inside a mathed inset you'll see that the position is not restored correctly!
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
-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._
You will give someone a piece of your mind, which you can ill afford.