mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
missing bit
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6987 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
2a882902eb
commit
01478feb03
@ -16,6 +16,7 @@
|
||||
#include "lyxrc.h"
|
||||
#include "buffer.h"
|
||||
#include "bufferview_funcs.h"
|
||||
#include "errorlist.h"
|
||||
#include "LaTeX.h"
|
||||
#include "lyx_cb.h" // ShowMessage()
|
||||
#include "gettext.h"
|
||||
@ -469,8 +470,12 @@ bool Converters::scanLog(Buffer const * buffer, string const & command,
|
||||
LaTeX latex("", filename, "");
|
||||
TeXErrors terr;
|
||||
int result = latex.scanLogFile(terr);
|
||||
if (bv && (result & LaTeX::ERRORS))
|
||||
bv->showErrorList();
|
||||
|
||||
if (bv && (result & LaTeX::ERRORS)) {
|
||||
ErrorList el(*buffer, terr);
|
||||
bv->setErrorList(el);
|
||||
bv->showErrorList(_("LaTeX"));
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
@ -498,7 +503,9 @@ bool Converters::runLaTeX(Buffer const * buffer, string const & command)
|
||||
|
||||
if (bv && (result & LaTeX::ERRORS)) {
|
||||
//show errors
|
||||
bv->showErrorList();
|
||||
ErrorList el(*buffer, terr);
|
||||
bv->setErrorList(el);
|
||||
bv->showErrorList(_("LaTeX"));
|
||||
}
|
||||
|
||||
// check return value from latex.run().
|
||||
|
@ -33,7 +33,8 @@ private:
|
||||
virtual void update();
|
||||
/// Filter the inputs on callback from xforms
|
||||
virtual ButtonPolicy::SMInput input(FL_OBJECT *, long);
|
||||
|
||||
/// Goto to this error
|
||||
void goTo(int);
|
||||
///
|
||||
void updateContents();
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user