#include "frontends/LyXKeySym.h"
#include "frontends/LyXKeySymFactory.h"
+
+namespace lyx {
+
using std::make_pair;
using std::string;
KeySequence::size_type i, length = sequence.size();
for (i = 0; i < length; ++i) {
- buf += kb_keymap::printKeySym(*sequence[i], modifiers[i].first);
+ buf += sequence[i]->print(modifiers[i].first);
// append a blank
if (i + 1 < length) {
if (!curmap)
return buf;
- buf += _(" options: ");
+ buf += to_utf8(_(" options: "));
buf += curmap->print();
return buf;
}
sequence.clear();
reset();
}
+
+
+} // namespace lyx