>>>>> "Enrico" == Enrico Forestieri <[EMAIL PROTECTED]> writes:

Enrico> This patch fixes it. However, as I am a bad guy, I found
Enrico> another problem ;-) (I wish I have a better grasp of the
Enrico> sources such that to be helpful instead of simply reporting
Enrico> misbehavior)

I am glad to see you tested it well.

Enrico> With this patch applied:

Enrico> 1) Ctrl-N (new document) 2) Shift-Ctrl-M (math display) 3) y^2
Enrico> 4) Cursor down (cursor is to the left of y but outside the
Enrico> scriptinset) 5) Cursor right (cursor is to the left of y but
Enrico> inside the scriptinset) 6) type x (now we have {xy}^2, i.e.,
Enrico> the scriptinset nucleus is xy) 7) Cursor up (cursor is to the
Enrico> left of the 2) 8) Del (to delete the 2) 9) Cursor down 10)
Enrico> Undo

This is because the scriptinset does not really support having several
items in the nucleus: this {xy}^2 is output as xy^2, which is not the
same thing...

I tried to change it to output {xy}^{2} when needed, but the braces
are kept when reading back...

JMarc

Reply via email to