]> git.lyx.org Git - lyx.git/blobdiff - src/KeyMap.cpp
Account for old versions of Pygments
[lyx.git] / src / KeyMap.cpp
index 7628d0dfdbb37b9fa25d99bc6385627d4bd8cc56..32f99265dd779106d2ab4626a784b460d5672938 100644 (file)
@@ -106,6 +106,8 @@ void KeyMap::bind(KeySequence * seq, FuncRequest const & func, unsigned int r)
        KeyModifier const mod2 = seq->modifiers[r].second;
 
        // check if key is already there
+       // FIXME perf: Profiling shows that this is responsible of 99% of the
+       // cost of GuiPrefs::applyView()
        Table::iterator end = table.end();
        for (Table::iterator it = table.begin(); it != end; ++it) {
                if (code == it->code