On Tue, Dec 11, 2001 at 02:39:56PM +1000, Allan Rae wrote: > > something is bogus about checkInsetHit()'s cursor.y() in the scenario > > of two insets in a row. I fixed it for the RHS footnote bug, but you > > still see it if there are two footnotes - cursor.y() is wrong. > > I'm not sure what you mean here. I filled the screen with closed > footnotes all in the one paragraph and every click opened/closed the > correct footnote. They were all empty footnotes if that matters.
it doesn't. what matters is if you click on the RHS of the footnote, or the LHS. The cursor is placced in checkInsetHit() based on the x,y of the click. If it's on the RHS, the cursor should be /after/ the inset (makes sense). But unfortunately the cursor.y() in the case we are talking about is the y of the NEXT ROW (or something) so it looks like it didn't hit the inset. I don't know why - I fixed the common case by moving the cursor back one in this circumstance, but it doesn't work for mutliple insets. regards john -- "Take the ideas you find useful. Try not to get hung up on the labels." - Jonathan S. Shapiro