Re: bug report: language switch

2002-10-24 Thread Jean-Marc Lasgouttes
> "Dekel" == Dekel Tsur <[EMAIL PROTECTED]> writes: Dekel> Here is a patch for this bug. OK to apply ? (and to 1.2.2cvs ?) Dekel> BTW, the code look quite ugly. I might change it after 1.3. It seems OK with 1.2.2cvs. Isn't it possible to use Paragraph::depthHook/outerHook for this kind of cod

Re: bug report: language switch

2002-10-20 Thread Dekel Tsur
On Fri, Oct 18, 2002 at 10:31:39AM +0200, Nicolas SABOURET wrote: > I thought I had already sent a file. However, please find in attachement > "bugreport.lyx". Open with lyx, simply view DVI output and note how the > second item is preceeded by a bullet instead of a dash (as it should be > in fr

Re: bug report: language switch

2002-10-18 Thread Nicolas SABOURET
John Levon a écrit: On Wed, Sep 18, 2002 at 02:42:20PM +0200, Nicolas SABOURET wrote: > The problem is that the font does not swhitch back to "normal" after the > end of the current paragraph. > > Do you understand the problem ? Do you want me to send you a .lyx file ? please do, with an inline

Re: bug report: language switch

2002-10-14 Thread John Levon
On Wed, Sep 18, 2002 at 02:42:20PM +0200, Nicolas SABOURET wrote: > The problem is that the font does not swhitch back to "normal" after the > end of the current paragraph. > > Do you understand the problem ? Do you want me to send you a .lyx file ? please do, with an inline description of how

Re: bug report: language switch

2002-09-18 Thread Nicolas SABOURET
Dekel Tsur wrote: > > On Fri, Sep 06, 2002 at 09:59:39AM +0200, Nicolas SABOURET wrote: > > I write a french document. Suppose that I write an URL in my text. > > To avoid the automatic space between "http" and "://", I select this > > text and sets the character layout to "english". The prob

Re: bug report: language switch

2002-09-11 Thread Jean-Marc Lasgouttes
> "John" == John Levon <[EMAIL PROTECTED]> writes: John> On Wed, Sep 11, 2002 at 12:41:28PM +0200, Jean-Marc Lasgouttes John> wrote: >> I which sense is it better than >> >> Blah de blah blah de blah blah blah blah> font off, using the _same_ binding as before because we toggle> >> dsmfkldsm

Re: bug report: language switch

2002-09-11 Thread John Levon
On Wed, Sep 11, 2002 at 12:41:28PM +0200, Jean-Marc Lasgouttes wrote: > I which sense is it better than > > Blah de blah blah de blah blah blah blah off, using the _same_ binding as before because we toggle> > dsmfkldsmf mfsdflkme > > Your solution forces to use different bindings and I think i

Re: bug report: language switch

2002-09-11 Thread Jean-Marc Lasgouttes
> "Andre" == Andre Poenitz <[EMAIL PROTECTED]> writes: Andre> On Wed, Sep 11, 2002 at 12:43:02PM +0200, Jean-Marc Lasgouttes Andre> wrote: the change) - in other words inset-like behaviour (be it Andre> implemented by insets or otherwise is not the question here). >> How often do you use fon

Re: bug report: language switch

2002-09-11 Thread Andre Poenitz
On Wed, Sep 11, 2002 at 12:43:02PM +0200, Jean-Marc Lasgouttes wrote: > Andre> the change) - in other words inset-like behaviour (be it > Andre> implemented by insets or otherwise is not the question here). > > How often do you use font changes in the middle of words?? As soon as > you add spaces

Re: bug report: language switch

2002-09-11 Thread Jean-Marc Lasgouttes
> "Andre" == Andre Poenitz <[EMAIL PROTECTED]> writes: Andre> On Tue, Sep 10, 2002 at 06:17:56PM +0100, John Levon wrote: >> Well, this isn't a "very rare circumstance". It's very common to >> add text to the end of a paragraph, and it is semantically >> different from traversing a paragraph.

Re: bug report: language switch

2002-09-11 Thread Jean-Marc Lasgouttes
> "Andre" == Andre Poenitz <[EMAIL PROTECTED]> writes: Andre> On Tue, Sep 10, 2002 at 03:37:31PM +0100, John Levon wrote: >> On Tue, Sep 10, 2002 at 01:24:25PM +0300, Dekel Tsur wrote: >> >> > > I would prefer this to happen but ONLY at the end of a >> paragraph. Why ? > > Because I can do t

Re: bug report: language switch

2002-09-11 Thread Jean-Marc Lasgouttes
> "John" == John Levon <[EMAIL PROTECTED]> writes: John> On Sat, Sep 07, 2002 at 08:10:42PM +0300, Dekel Tsur wrote: >> By the way, it is easy to modify the code so in places where the >> font change, the user will be able to put the cursor either before >> the change or after the change (nam

Re: bug report: language switch

2002-09-11 Thread Jean-Marc Lasgouttes
> "Andre" == Andre Poenitz <[EMAIL PROTECTED]> writes: Andre> On Wed, Sep 11, 2002 at 09:59:20AM +0200, Jean-Marc Lasgouttes Andre> wrote: John> place the cursor, click off italic button, type. This is exactly John> why we should not have this broken "flip the word" behaviour I John> argued a

Re: bug report: language switch

2002-09-11 Thread Andre Poenitz
On Wed, Sep 11, 2002 at 09:59:20AM +0200, Jean-Marc Lasgouttes wrote: > John> place the cursor, click off italic button, type. This is exactly > John> why we should not have this broken "flip the word" behaviour I > John> argued against some time ago. We already have a quick way to > John> apply w

Re: bug report: language switch

2002-09-11 Thread Jean-Marc Lasgouttes
> "John" == John Levon <[EMAIL PROTECTED]> writes: John> On Tue, Sep 10, 2002 at 07:36:46PM +0200, Andre Poenitz wrote: >> Currently the same kind of behaviour is faked in the outside world >> for the case of changing rtl parts and it is my understanding that >> the current behaviour of the c

Re: bug report: language switch

2002-09-10 Thread John Levon
On Tue, Sep 10, 2002 at 07:50:44PM +0200, Andre Poenitz wrote: > On Tue, Sep 10, 2002 at 06:45:40PM +0100, John Levon wrote: > > place the cursor, click off italic button, type. > > But you know that it does not work like that right now, do you? Yes. > > This is exactly why we should not have

Re: bug report: language switch

2002-09-10 Thread Andre Poenitz
On Tue, Sep 10, 2002 at 06:45:40PM +0100, John Levon wrote: > place the cursor, click off italic button, type. But you know that it does not work like that right now, do you? > This is exactly why we should not have this broken "flip the word" > behaviour I argued against some time ago. We alrea

Re: bug report: language switch

2002-09-10 Thread John Levon
On Tue, Sep 10, 2002 at 07:36:46PM +0200, Andre Poenitz wrote: > Currently the same kind of behaviour is faked in the outside world for > the case of changing rtl parts and it is my understanding that the current > behaviour of the cursor on the boundary of font changes is broken > [Type 'ab'. T

Re: bug report: language switch

2002-09-10 Thread Andre Poenitz
On Tue, Sep 10, 2002 at 06:17:56PM +0100, John Levon wrote: > Well, this isn't a "very rare circumstance". It's very common to add > text to the end of a paragraph, and it is semantically different from > traversing a paragraph. I know you want to enforce the behaviour > everywhere via font insets

Re: bug report: language switch

2002-09-10 Thread John Levon
On Tue, Sep 10, 2002 at 04:51:44PM +0200, Andre Poenitz wrote: > > No doubt. But sometimes we need to sacrifice some code for a better UI > > experience. I think this is one of those cases. > > I am not sure about that. I things happen _always_ it is easier to get used > to them than if they occ

Re: bug report: language switch

2002-09-10 Thread Andre Poenitz
On Tue, Sep 10, 2002 at 03:37:31PM +0100, John Levon wrote: > On Tue, Sep 10, 2002 at 01:24:25PM +0300, Dekel Tsur wrote: > > > > I would prefer this to happen but ONLY at the end of a paragraph. Why ? > > > Because I can do this : > > > > The code would be cleaner if we always make the distinct

Re: bug report: language switch

2002-09-10 Thread John Levon
On Tue, Sep 10, 2002 at 01:24:25PM +0300, Dekel Tsur wrote: > > I would prefer this to happen but ONLY at the end of a paragraph. Why ? > > Because I can do this : > > The code would be cleaner if we always make the distinction. No doubt. But sometimes we need to sacrifice some code for a bette

Re: bug report: language switch

2002-09-10 Thread Dekel Tsur
On Mon, Sep 09, 2002 at 07:47:19PM +0100, John Levon wrote: > On Sat, Sep 07, 2002 at 08:10:42PM +0300, Dekel Tsur wrote: > > > By the way, it is easy to modify the code so in places where the font change, > > the user will be able to put the cursor either before the change or after > > the chang

Re: bug report: language switch

2002-09-09 Thread John Levon
On Sat, Sep 07, 2002 at 08:10:42PM +0300, Dekel Tsur wrote: > By the way, it is easy to modify the code so in places where the font change, > the user will be able to put the cursor either before the change or after > the change (namely, in a\emph{b} the user will be able to put the cursor > afte

Re: bug report: language switch

2002-09-07 Thread Dekel Tsur
On Sat, Sep 07, 2002 at 08:03:52PM +0300, Dekel Tsur wrote: > On Fri, Sep 06, 2002 at 09:59:39AM +0200, Nicolas SABOURET wrote: > > I write a french document. Suppose that I write an URL in my text. To > > avoid the automatic space between "http" and "://", I select this text > > and sets the char

Re: bug report: language switch

2002-09-07 Thread Dekel Tsur
On Fri, Sep 06, 2002 at 09:59:39AM +0200, Nicolas SABOURET wrote: > I write a french document. Suppose that I write an URL in my text. To > avoid the automatic space between "http" and "://", I select this text > and sets the character layout to "english". The problem is that lyx > doesn't switch