#include "qt_helpers.h"
#include "Lexer.h"
+#include "frontends/Clipboard.h"
+
#include "support/docstring.h"
#include "support/FileName.h"
#include "support/gettext.h"
// Warnings
QRegExp exprWarning("^(LaTeX Warning|LaTeX Font Warning|Package [\\w\\.]+ Warning|Class \\w+ Warning|Warning--|.*> WARN - ).*$");
// Errors
-QRegExp exprError("^(!|.*---line [0-9]+ of file|.*> FATAL - |.*> ERROR - ).*$");
+QRegExp exprError("^(!|.*---line [0-9]+ of file|.*> FATAL - |.*> ERROR - |Missing character: There is no ).*$");
/////////////////////////////////////////////////////////////////////
logTB->setReadOnly(true);
QFont font(guiApp->typewriterFontName());
- font.setKerning(false);
font.setFixedPitch(true);
font.setStyleHint(QFont::TypeWriter);
logTB->setFont(font);
void GuiLog::on_copyPB_clicked()
{
- qApp->clipboard()->setText(logTB->toPlainText());
+ theClipboard().put(fromqstr(logTB->toPlainText()));
}