Andre Poenitz wrote: > Something like that. [modulo whitespace ;-)] > > This still has the 'right mouse <-> edit' association hard coded, we had > been thinking about something more flexible lately but there was no > decision how to do it...>
Ok. > And this even could be a > > case LFUN_MOUSE_RELEASE: > return edit(ev.view(), ev.x, ev.y, ev.button()); > > with a default edit() { return UNDISPATCHED; } But edit() is declared as returning void. Should I prepare a patch like my first suggestion (+whitespaces) or will you do it? >> Or should we overload localDispatch on every single >> clase inheriting from InsetButton? > > I'd do that only if the behaviour is really different in the inherited > classes. localDispatch is virtual anyway, so we should have the general > case handled as soon as painless possible in the hierarchy. Wise. > > It is a bit unfortunate that we are in freeze for 1.3.0 now that you > tasted some blood. I hope you don't lose interest before 1.4.0cvs opens... :) Don't worry. I use LyX all the time, I just cannot lose interest... > > Andre' > Bye, Alfredo