* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
- * \author Lars Gullik Bjønnes
+ * \author Lars Gullik Bjønnes
* \author Jean-Marc Lasgouttes
* \author John Levon
- * \author André Pönitz
+ * \author André Pönitz
*
* Full author contact details are available in file CREDITS.
*/
KeyModifier mod, KeySequence * seq) const
{
if (table.empty()) {
- seq->curmap = seq->stdmap;
- seq->mark_deleted();
+ seq->reset();
return FuncRequest::unknown;
}
return prefix;
} else {
// final key - reset map
- seq->curmap = seq->stdmap;
- seq->mark_deleted();
+ seq->reset();
return cit->func;
}
}
}
// error - key not found:
- seq->curmap = seq->stdmap;
- seq->mark_deleted();
+ seq->reset();
return FuncRequest::unknown;
}