Set linelen when exporting latex for the purpose of chktex-ing it, so that a meaningful error-line is reported back to the GUI (addressing #6574).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33616 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Tommaso Cucinotta 2010-03-04 08:13:42 +00:00
parent 20fbd7068a
commit 8c244aa68d

View File

@ -1607,6 +1607,7 @@ int Buffer::runChktex()
OutputParams runparams(&params().encoding());
runparams.flavor = OutputParams::LATEX;
runparams.nice = false;
runparams.linelen = lyxrc.plaintext_linelen;
makeLaTeXFile(FileName(name), org_path, runparams);
TeXErrors terr;