Re: current_font in ERT insets

2007-09-24 Thread Dov Feldstern
Dov Feldstern wrote: Martin Vermeer wrote: On Sun, Sep 23, 2007 at 02:43:02AM +0200, Dov Feldstern wrote: Attached find a patch which fixes this issue. The actual fix is what's being done in the LFUN_FINISHED_* lfuns. The fixes in cursorLeft and cursorRight aren't relevant to the problem

Re: current_font in ERT insets

2007-09-23 Thread Dov Feldstern
Martin Vermeer wrote: On Sun, Sep 23, 2007 at 02:43:02AM +0200, Dov Feldstern wrote: Attached find a patch which fixes this issue. The actual fix is what's being done in the LFUN_FINISHED_* lfuns. The fixes in cursorLeft and cursorRight aren't relevant to the problem we're dealing with,

Re: current_font in ERT insets

2007-09-22 Thread Martin Vermeer
On Sun, Sep 23, 2007 at 02:43:02AM +0200, Dov Feldstern wrote: > Jean-Marc Lasgouttes wrote: > > Abdelrazak Younes <[EMAIL PROTECTED]> writes: > >>> do you have an easy fix handy ;-) > >> What about this... could you try please? > > How come cursorLeft does not set the font correctly? I tried to f

Re: current_font in ERT insets

2007-09-22 Thread Dov Feldstern
Jean-Marc Lasgouttes wrote: Abdelrazak Younes <[EMAIL PROTECTED]> writes: do you have an easy fix handy ;-) What about this... could you try please? How come cursorLeft does not set the font correctly? I tried to follow that code, but I am not sure I understand. Ideally, the call to setCurre

Re: current_font in ERT insets

2007-09-21 Thread Martin Vermeer
On Fri, 21 Sep 2007 10:29:17 +0200 Abdelrazak Younes <[EMAIL PROTECTED]> wrote: > Martin Vermeer wrote: > > On Fri, 21 Sep 2007 08:32:39 +0200 > > Abdelrazak Younes <[EMAIL PROTECTED]> wrote: > > > >> Martin Vermeer wrote: > >>> On Fri, Sep 21, 2007 at 01:19:48AM +0200, Dov Feldstern wrote: > >>>

Re: current_font in ERT insets

2007-09-21 Thread Jean-Marc Lasgouttes
Abdelrazak Younes <[EMAIL PROTECTED]> writes: >> do you have an easy fix handy ;-) > > What about this... could you try please? How come cursorLeft does not set the font correctly? I tried to follow that code, but I am not sure I understand. Ideally, the call to setCurrentFont should be automatic

Re: current_font in ERT insets

2007-09-21 Thread Abdelrazak Younes
Martin Vermeer wrote: On Fri, 21 Sep 2007 08:32:39 +0200 Abdelrazak Younes <[EMAIL PROTECTED]> wrote: Martin Vermeer wrote: On Fri, Sep 21, 2007 at 01:19:48AM +0200, Dov Feldstern wrote: Now there's a follow-up issue: when leaving the ERT inset by pressing right-arrow at the end of the inse

Re: current_font in ERT insets

2007-09-21 Thread Martin Vermeer
On Fri, 21 Sep 2007 08:32:39 +0200 Abdelrazak Younes <[EMAIL PROTECTED]> wrote: > Martin Vermeer wrote: > > On Fri, Sep 21, 2007 at 01:19:48AM +0200, Dov Feldstern wrote: > > > >> Now there's a follow-up issue: when leaving the ERT inset by pressing > >> right-arrow at the end of the inset, to

Re: current_font in ERT insets

2007-09-20 Thread Abdelrazak Younes
Martin Vermeer wrote: On Fri, Sep 21, 2007 at 01:19:48AM +0200, Dov Feldstern wrote: Now there's a follow-up issue: when leaving the ERT inset by pressing right-arrow at the end of the inset, to get back outside after the inset, the language is remaining "latex_language", which is wrong (for

Re: current_font in ERT insets (was: Re: ERT in title bug)

2007-09-20 Thread Martin Vermeer
On Fri, Sep 21, 2007 at 01:19:48AM +0200, Dov Feldstern wrote: > > > (changing the title, since it now sounds like this is really a separate > issue from Neal's original issue...) > > > Martin Vermeer wrote: > > > >The attached seems to fix it and has the merit of me sort of > >understanding w

current_font in ERT insets (was: Re: ERT in title bug)

2007-09-20 Thread Dov Feldstern
(changing the title, since it now sounds like this is really a separate issue from Neal's original issue...) Martin Vermeer wrote: The attached seems to fix it and has the merit of me sort of understanding why it works. - Martin Thanks, Martin! This does indeed fix the issue I was complai