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
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
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