> ----- Forwarded message from [EMAIL PROTECTED] ----- > It would be nice if double click would select the contents of the current > math inset box (for example, in a fraction numerator, select this numerator). > Then triple click would select one level more (in the example above, > the whole fraction), and so on. > > Is that easy to implement? > ----- End forwarded message -----
If somebody would care to send down double clicks to the insets, the insets might react to them. But right now BufferView::Pimpl::workAreaButtonPress and ...::doubleClick look quite different and the workAreaButtonPress code does not look like stuff I'd like to cut&paste somewhere else. So somebody should probably add insetButtonPressDouble() functions to the lyx insets and make sure that it is called properly. Handling this within mathed is straight-forward. I'd do that part then. Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson)