+/**
+ * \file trans_mgr.C
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
+ *
+ * \author Lars Gullik Bjønnes
+ * \author Matthias Ettrich
+ *
+ * Full author contact details are available in file CREDITS.
+ */
+
#include <config.h>
#include "trans_mgr.h"
#include "lyxrc.h"
#include "support/lstrings.h"
+using namespace lyx::support;
+
using std::endl;
using std::pair;
extern string const DoAccent(string const &, tex_accent);
extern string const DoAccent(char, tex_accent);
-extern BufferView * current_view;
// TransFSMData
string::size_type const l = str.length();
for (string::size_type i = 0; i < l; ++i) {
- text->insertChar(current_view, str[i]);
+ text->insertChar(str[i]);
}
}
// Could not find an encoding
InsetLatexAccent ins(str);
if (ins.canDisplay()) {
- text->insertInset(current_view,
+ text->insertInset(
new InsetLatexAccent(ins));
} else {
insertVerbatim(str, text);