mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
OutputParams.linelen now controls line-width also for LaTeX exports, additionally to plaintext ones.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31263 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
026f6a454a
commit
14c27bcea6
@ -135,7 +135,7 @@ public:
|
||||
*/
|
||||
mutable std::string index_command;
|
||||
|
||||
/** Line length to use with plaintext export.
|
||||
/** Line length to use with plaintext or LaTeX export.
|
||||
*/
|
||||
size_type linelen;
|
||||
|
||||
|
@ -593,8 +593,8 @@ bool Paragraph::Private::simpleTeXBlanks(OutputParams const & runparams,
|
||||
}
|
||||
}
|
||||
|
||||
if (lyxrc.plaintext_linelen > 0
|
||||
&& column > lyxrc.plaintext_linelen
|
||||
if (runparams.linelen > 0
|
||||
&& column > runparams.linelen
|
||||
&& i
|
||||
&& text_[i - 1] != ' '
|
||||
&& (i + 1 < int(text_.size()))
|
||||
|
Loading…
Reference in New Issue
Block a user