Pavel Sanda wrote:
As some of you already noticed, adding a context menu to a given inset is now easier than ever. You just need to implement contextMenu() and add the corresponding entry in "stdmenus.inc". For InsetCommand derived Insets, the support code is already there so all that remains to do is to create entries in "stdmenus.inc".

Abdel, is it possible that selection remain intact when clicking on it with
right mouse button?

I think this has been the case for ever but I agree we should do something now. I am not sure of the difficulty but everything is possible of course :-) The only difficulty I foresee is that we rely on the cursor to be set _before_ the context menu is requested. I think that should stay this way. So the selection should remain intact only if one right click on a selection. I just had a look at MS word and the at the Thunderbird editor and this is exactly how context menu is implemented.

Abdel.

Reply via email to