Re: [patch] 1.3: Index insertion

2005-11-30 Thread Jean-Marc Lasgouttes
> "Jean-Marc" == Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: Jean-Marc> What about this different version? Here is what I am going to apply right now. JMarc Index: status.13x === RCS file: /usr/local/lyx/cvsroot/lyx-devel/

Re: [patch] 1.3: Index insertion

2005-11-29 Thread Juergen Spitzmueller
Jean-Marc Lasgouttes wrote: > I think it is overkill because index is the only inset that does not > delete the selection when it is inserted. > > I think I'll apply this patch. OK. Thank you for jumping in. Jürgen

Re: [patch] 1.3: Index insertion

2005-11-29 Thread Jean-Marc Lasgouttes
> "Juergen" == Juergen Spitzmueller <[EMAIL PROTECTED]> writes: >> What about this different version? Juergen> What about moving your code there and adding another bool for Juergen> the case "just copy the selection and paste it inside the Juergen> inset"? Or do you think this is overkill? I

Re: [patch] 1.3: Index insertion

2005-11-28 Thread Juergen Spitzmueller
Jean-Marc Lasgouttes wrote: > I am not sure the patch is really right: if I insert a TOC inset, it > will mean that the selection is not replaced anymore, but it stays > here. Actually, only INDEX requires to use the selection without > deleting it. You're right, the new behaviour should only app

Re: [patch] 1.3: Index insertion

2005-11-28 Thread Jean-Marc Lasgouttes
> "Juergen" == Juergen Spitzmueller <[EMAIL PROTECTED]> writes: Juergen> Jean-Marc Lasgouttes wrote: >> The patch is wrong, because the index is not populated by >> LFUN_PASTE (there is no underlying text inset). Try this one >> instead. Juergen> It works indeed. Would you like to include it?

Re: [patch] 1.3: Index insertion

2005-11-25 Thread Juergen Spitzmueller
Jean-Marc Lasgouttes wrote: > The patch is wrong, because the index is not populated by LFUN_PASTE > (there is no underlying text inset). Try this one instead. It works indeed. Would you like to include it? Jürgen

Re: [patch] 1.3: Index insertion

2005-11-25 Thread Jean-Marc Lasgouttes
> "Juergen" == Juergen Spitzmueller <[EMAIL PROTECTED]> writes: Juergen> Inspired by a recent thread on lyx-users, and because I have Juergen> to do an index for a book myself ATM, I have fixed the Juergen> behaviour of index insertion when there is text selected. By Juergen> now, the selected