Re: The mouse mess... (was Re: Context menus: Call for help)

2008-03-10 Thread Abdelrazak Younes
Abdelrazak Younes wrote: Pavel Sanda wrote: One question to everybody: how do I now that I am starting a new selection? My problem is as follow: 1) select some text 2) move the mouse somewhere else outside the selected area. 3) left-click to start a new selection I have to detect that the p

Re: The mouse mess... (was Re: Context menus: Call for help)

2008-03-10 Thread Abdelrazak Younes
Pavel Sanda wrote: Pavel Sanda wrote: So the selection should remain intact only if one right click on a selection. yes I am having a look at mouse business right now. I must say that this is a mess and that we do basically everything different from other apps. The main problem is that we do

Re: The mouse mess... (was Re: Context menus: Call for help)

2008-03-10 Thread Pavel Sanda
> Pavel Sanda wrote: >>> So the selection should remain intact only if one right click on a >>> selection. >> yes > > I am having a look at mouse business right now. I must say that this is a > mess and that we do basically everything different from other apps. The > main problem is that we do m

The mouse mess... (was Re: Context menus: Call for help)

2008-03-10 Thread Abdelrazak Younes
Pavel Sanda wrote: So the selection should remain intact only if one right click on a selection. yes I am having a look at mouse business right now. I must say that this is a mess and that we do basically everything different from other apps. The main problem is that we do most things at mo

Re: Context menus: Call for help

2008-03-10 Thread Pavel Sanda
> So the selection should remain intact only if one right click on a > selection. yes pavel

Re: Context menus: Call for help

2008-03-10 Thread Jürgen Spitzmüller
Abdelrazak Younes wrote: > Tabular would be fantastic at least. Graphics would be useful for > selection and external editing. Cf. http://bugzilla.lyx.org/show_bug.cgi?id=3975 Jürgen

Re: Context menus: Call for help

2008-03-10 Thread Jürgen Spitzmüller
Abdelrazak Younes wrote: > > change of type (vref, prettyref.../citep, citet,...), > > Do we have LFUNs for these? > > > for space > > inset, change of type (thinspace, normalspace, negthinspace ...). > > and for these? not that I'm aware of. Jürgen

Re: Context menus: Call for help

2008-03-10 Thread Abdelrazak Younes
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 t

Re: Context menus: Call for help

2008-03-10 Thread Abdelrazak Younes
Jürgen Spitzmüller wrote: Abdelrazak Younes wrote: So unleash your creativity :-) Most context menu entries I have in mind would need some more work: for refs For labels and refs we indeed need some support methods in Menus.{h,cpp} but the task is easy with the reference cache. and cita

Re: Context menus: Call for help

2008-03-10 Thread Jürgen Spitzmüller
Abdelrazak Younes wrote: > So unleash your creativity :-) Most context menu entries I have in mind would need some more work: for refs and citation, change of type (vref, prettyref.../citep, citet,...), for space inset, change of type (thinspace, normalspace, negthinspace ...). Also, I think al

Re: Context menus: Call for help

2008-03-10 Thread Abdelrazak Younes
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 t

Re: Context menus: Call for help

2008-03-09 Thread Pavel Sanda
> 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 c

Re: Context menus: Call for help

2008-03-09 Thread Edwin Leuven
off-topic but related: note that right clicking clears a selection ed.

Re: Context menus: Call for help

2008-03-09 Thread Pavel Sanda
> 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 c

Context menus: Call for help

2008-03-09 Thread Abdelrazak Younes
Hello, 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