Abdelrazak Younes wrote:
Asger Ottar Alstrup wrote:
Click Ctrl+M, type 1. The 1 goes into the main text, not the math.

Old one also. I think this one is related to unicode. I've been step debugging through it and all key inputs inside mathed are translated into spaces... which make the cursor goes out of mathed!

Well, that's not what happens for me. When I press 1, that is correctly converted to UTF-8 representation of 1.

From line 708 in MathHull::doDispatch, it goes to InsetMathNest::interpret because arg has size 1. Then in line 1346 of InsetMathNest.C, cur.pos() == 0, and thus interpret returns false. Then line 709 in MathHull decides that we probably want to end editing.

I'm not sure where the mistake is, but it does not look like a unicode problem to me.

Regards,
Asger


Reply via email to