Look in BufferView::mouseEventDispatch:

Inset * inset = d->text_metrics_[&buffer_.text()].editXY(cur, cmd.x, cmd.y);

So only the inset below the cursor will get the event.

Stefan

Am 13.03.2008 um 00:37 schrieb Stefan Schimanski:


Am 13.03.2008 um 00:23 schrieb Edwin Leuven:

Stefan Schimanski wrote:
Can you send me a complete patch of your changes?

attached. it defines a new lfun that selects a row (once you're in tabular)

the part that doesn't work is this:

// SELECT ROW
if (cmd.x < xo(cur.bv()) + ADD_TO_TABULAR_WIDTH
  || cmd.x > xo(cur.bv()) + tabular.width()) {

Why should the table get this mouse event after all if the mouse is not over the table, but left on it?

Stefan


Reply via email to