Let me remember:

- on clicks that do not hit anything, dispatch to the main text, not to the
inner txt of the old par. Set the global cursor to that text (it was
impossible to exit an inset by clicking)

- Remove an unuseful fitCursor call (we cannot call fitcursor in unhandled
click event: the PRESS event moves the screen, then the RELEASE event ends
up in nowhere!). I think that there is one more left somewhere.

- move getVisiblePars to paragraph_funcs and call it getParsInRange (get a
range of pars in a range of y)

- use that from checkInsetHit

- take out references from checkInsetHit arguments (and so solve the y +=
top_y problem)

Alfredo


Reply via email to