Buffer::Impl::Impl(Buffer & parent, FileName const & file, bool readonly_)
: lyx_clean(true), bak_clean(true), unnamed(false), read_only(readonly_),
- filename(file), file_fully_loaded(false), inset(params),
- toc_backend(&parent), messages(0)
+ filename(file), messages(0), file_fully_loaded(false), inset(params),
+ toc_backend(&parent)
{
inset.setAutoBreakRows(true);
lyxvc.buffer(&parent);
}
-docstring const Buffer::translateLabel(docstring const & label) const
-{
- if (support::isAscii(label))
- // Probably standard layout, try to translate
- return B_(to_ascii(label));
- else
- // This must be a user defined layout. We cannot translate
- // this, since gettext accepts only ascii keys.
- return label;
-}
-
-
bool Buffer::isClean() const
{
return pimpl_->lyx_clean;
OutputParams runparams;
runparams.nice = true;
runparams.flavor = OutputParams::LATEX;
- runparams.linelen = lyxrc.ascii_linelen;
+ runparams.linelen = lyxrc.plaintext_linelen;
// No side effect of file copying and image conversion
runparams.dryrun = true;