On Mon, 31 Mar 2003, John Levon wrote: > On Mon, Mar 31, 2003 at 07:30:03PM +0200, Christian Ridderstr?m wrote: > > > I'm typing some equation and then press <Space> to get out of math mode. > > The cursor leaves math mode, but for some reason I think that I've > > hit <Space> twice so there's an extra space between the math-inset and the > > location of the cursor... so I do backspace and the whole math-inset is > > deleted - does this sound familiar? > > Just a little > > http://bugzilla.lyx.org/show_bug.cgi?id=819 > Hmm.. so it's fixed for instant preview. I've never used that function, but I think that instant previews aren't instant-instant, if you know what I mean. I.e. would it keep me from doing this stupid sequence? <space> <backspace> <uurgh-formula-deleted>
Here's a screenshot with the distances (wish I knew how to capture the cursor) ... http://www.md.kth.se/~chr/lyx/bugs/distance_to_cursor_too_big.png I'm going to try and get instant preview running, but if that's not enough, should I add a comment to 819, or file a separate thing? As for solutions, the problem 819 discusses is that the space (that doesn't really exist) is too big, whereas I'm primarily concerned with the position of the cursor. Here it would be enough to "shift" the cursor a bit to the left when just behind a math-inset. Although that seems a bit like a hack, if it's really the math border that takes up space. And also... fiddling a bit with it just now, it *is* annoying that you can't tell if there is a space next to the math-inset or not... (that might actually get a bit better if the cursor position was adjusted). /Christian -- Christian Ridderström, +46-8-790 91 37 http://www.md.kth.se/~chr Mechatronics lab, Dept. of Machine Design http://www.md.kth.se