Am 29.10.2008 um 14:52 schrieb Abdelrazak Younes:
On 29/10/2008 14:50, Stefan Schimanski wrote:Am 29.10.2008 um 10:56 schrieb Abdelrazak Younes:Hum, this commit fixes the right and left movement but not the up and down...Putting leavePreview into idxFirst/idxLast looks wrong. See below.André, Stefan, Enrico, could you please comment on the possibility to have InsetMathHull inside InsetMathHull? I can imagine that it is useful for XYmatrix purpose so that you don't have the full raw equation when you enter it.One solution would be to move the preview handling to InsetMathGrid.Looking at your patch: Would notifyCursorEnters(old, cur) in analogy to notifyCursorLeaves(old, cur) help?Yes, that would help.We can do that at the very same place where the notifyCursorLeaves(old, cur) is called already. Then every inset (both hulls in this case) would be called correctly.That's a good idea. Would you do it?
cursorenters.patch
Description: Binary data
I noticed that we call those notifies handler twice if you click with the mouse into some math. I will investigate that, but it should not matter for your problem.
Stefan