On Mon, Oct 20, 2003 at 09:36:06PM +0000, Angus Leeming spake thusly: > > Many thanks, Martin, for giving us a working math display mode again. > > The attached lyx file demonstrates a couple of intersting cursor > oddities. > > 1. It is impossible to position the cursor using the mouse after the > last character of the last 'foo' before the equation. It always gets > positioned on the line containing the equation. Indeed, it gets > positioned _inside_ the equation.
You can actually get the cursor to the left of the equation if you're careful :-) The problem seems to be that the inset's clickable area includes the row above it -- if it is empty, i.e. past the row end. One solution might be to build a 'sensitive box' test like we did with insetinclude etc. > 2. Place the cursor (someway, anyway ;-) on the line containing the > equation, immediately before the equation. Ie, _not_ in mathed. > * Hit the 'up' arrow key. The cursor goes into mathed. Here it is > positioned after the 'rho' and before the superscript '2', but actual > results are dependent on the number of preceding 'foo's. Yes, I reproduce (but to a different position). I think it is an aspect of the above bug: moving up lands the cursor inside the sensitive area again. > Delete a > line of 'foo's fro example and the 'up' key does nothing at all. I don't see that... > * Continuing the example with the current sample file, hit the 'up' > key again. The cursor returns to a position immediately in front of > the equation. Ie, to its original (someway, anyway ;-) position. > Subsequent 'up's just cycle. Indeed. > I don't know how much of this is demonstrative of 'work-in-progress', > but perhaps it may be useful info. > > -- > Angus - Martin
pgp00000.pgp
Description: PGP signature
