Re: r30564 - lyx-devel/trunk/src/insets

2009-07-15 Thread Jean-Marc Lasgouttes
I suspect the right thing to use is getLayout().isPassthru. Martin, do you remember why you chose that instead? No... but as the comment says, it is probably overkill. I changed these calls to passthru instead, and kept the 'overkill' comment. JMarc

Re: r30564 - lyx-devel/trunk/src/insets

2009-07-15 Thread Martin Vermeer
On Tue, 14 Jul 2009 15:47:25 +0200 Jean-Marc Lasgouttes wrote: > Le 14 juil. 09 à 15:32, lasgout...@lyx.org a écrit : > > + // FIXME this use of forceLTR is dubious > > + // introduced in http://www.lyx.org/trac/changeset/21285 > > + if (getLayout().isForceLtr()) { > > + // Force

Re: r30564 - lyx-devel/trunk/src/insets

2009-07-14 Thread Jean-Marc Lasgouttes
Le 14 juil. 09 à 15:32, lasgout...@lyx.org a écrit : + // FIXME this use of forceLTR is dubious + // introduced in http://www.lyx.org/trac/changeset/21285 + if (getLayout().isForceLtr()) { + // Force any new text to latex_language FIXME: This + // sho