#include <sstream>
-using lyx::support::i18nLibFileSearch;
+
+namespace lyx {
+
+using support::i18nLibFileSearch;
using std::endl;
using std::string;
if (cit->table.get()) {
// this is a prefix key - set new map
seq->curmap = cit->table.get();
- static FuncRequest prefix(LFUN_PREFIX);
+ static FuncRequest prefix(LFUN_COMMAND_PREFIX);
return prefix;
} else {
// final key - reset map
it->table.reset();
}
it->func = func;
+ it->func.origin = FuncRequest::KEYBOARD;
return;
} else if (!it->table.get()) {
lyxerr << "Error: New binding for '" << seq->print()
newone->mod = seq->modifiers[r];
if (r + 1 == seq->length()) {
newone->func = func;
+ newone->func.origin = FuncRequest::KEYBOARD;
newone->table.reset();
return;
} else {
return std::make_pair<LyXKeySym const *, key_modifier::state>(0, key_modifier::none);
}
+
+
+} // namespace lyx