mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
From John C. McCabe-Dansted:
Don't display n copies of the errors if you run chktex n times. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16998 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
bdbe6d3d7d
commit
7a9da2b93a
@ -1166,8 +1166,11 @@ int Buffer::runChktex()
|
||||
Alert::error(_("chktex failure"),
|
||||
_("Could not run chktex successfully."));
|
||||
} else if (res > 0) {
|
||||
ErrorList & errorList = errorLists_["ChkTeX"];
|
||||
// Clear out old errors
|
||||
errorList.clear();
|
||||
// Fill-in the error list with the TeX errors
|
||||
bufferErrors(*this, terr, errorLists_["ChkTeX"]);
|
||||
bufferErrors(*this, terr, errorList);
|
||||
}
|
||||
|
||||
busy(false);
|
||||
|
Loading…
Reference in New Issue
Block a user