#pragma implementation
#endif
-#include "LyXView.h"
#include "trans.h"
#include "support/filetools.h"
#include "support/lstrings.h"
}
-int Trans::Load(LyXLex & lex)
+int Trans::Load(LyXLex & lex)
{
bool error = false;
<< "'" << endl;
} else
return -1;
-
+
string const keys = lex.getString();
if (lex.next(true)) {
AddDeadkey(accent, keys);
#endif
break;
- }
+ }
case KCOMB: {
string str;
lyxerr[Debug::KBMAP] << str << endl;
} else
return -1;
-
+
tex_accent accent_1 = getkeymod(str);
if (accent_1 == TEX_NOACCENT) return -1;
} else {
return -1;
}
-
+
InsertException(kmod_list_[accent_1].exception_list,
static_cast<char>(it->first), allowed,
true, accent_2);
FreeKeymap();
LyXLex lex(kmapTags, K_LAST-1);
lex.setFile(filename);
-
+
int const res = Load(lex);
if (res == 0) {
<< ", lyx_accent_table[" << i
<< "].name = `" << lyx_accent_table[i].name
<< "'" << endl;
-
+
if (lyx_accent_table[i].name
&& contains(p, lyx_accent_table[i].name)) {
lyxerr[Debug::KBMAP] << "Found it!" << endl;