#pragma implementation "trans_mgr.h"
#endif
-#include <assert.h>
+//#include <cassert>
#include "trans_mgr.h"
#include "trans.h"
#include "lyxtext.h"
#include "LString.h"
-#include "error.h"
+#include "debug.h"
#include "chset.h"
#include "insets/insetlatexaccent.h"
#include "BufferView.h"
if (t1_->IsDefined())
active_=t1_;
- lyxerr.debug("Enabling primary keymap",Error::KBMAP);
+ lyxerr[Debug::KBMAP] << "Enabling primary keymap" << endl;
}
{
if (t2_->IsDefined( ))
active_=t2_;
- lyxerr.debug("Enabling secondary keymap",Error::KBMAP);
+ lyxerr[Debug::KBMAP] << "Enabling secondary keymap" << endl;
}
void TransManager::DisableKeymap()
{
active_=default_;
- lyxerr.debug("Disabling keymap",Error::KBMAP);
+ lyxerr[Debug::KBMAP] << "Disabling keymap" << endl;
}
if (active_==default_ || c==0) {
i.accent=accent;
i.allowed=lyx_accent_table[accent].native;
- i.data.erase();
+ i.data.clear();
i.exception_list=0;
string res=trans_fsm_.currentState->deadkey(c,i);