#include "lyxrc.h"
#include "buffer.h"
#include "bufferview_funcs.h"
#include "lyxrc.h"
#include "buffer.h"
#include "bufferview_funcs.h"
#include "LaTeX.h"
#include "lyx_cb.h" // ShowMessage()
#include "gettext.h"
#include "LaTeX.h"
#include "lyx_cb.h" // ShowMessage()
#include "gettext.h"
LaTeX latex("", filename, "");
TeXErrors terr;
int result = latex.scanLogFile(terr);
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"));
+ }
if (bv && (result & LaTeX::ERRORS)) {
//show errors
if (bv && (result & LaTeX::ERRORS)) {
//show errors
+ ErrorList el(*buffer, terr);
+ bv->setErrorList(el);
+ bv->showErrorList(_("LaTeX"));
}
// check return value from latex.run().
}
// check return value from latex.run().
virtual void update();
/// Filter the inputs on callback from xforms
virtual ButtonPolicy::SMInput input(FL_OBJECT *, long);
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();
};
///
void updateContents();
};