return;
}
- //lyxerr << "insetButtonPress: " << x + xo_ << " " << y + yo_
- // << " but: " << button << "\n";
+ lyxerr << "insetButtonPress: " << x + xo_ << " " << y + yo_
+ << " but: " << button << "\n";
switch (button) {
default:
case 1:
hideInsetCursor(bv);
mathcursor->normalize();
-
switch (action) {
// --- Cursor Movements ---------------------------------------------
case LFUN_CARON: handleAccent(bv, "check"); break;
case LFUN_BREVE: handleAccent(bv, "breve"); break;
case LFUN_VECTOR: handleAccent(bv, "vec"); break;
+ case LFUN_UNDERBAR: handleAccent(bv, "underbar"); break;
// Math fonts
case LFUN_GREEK_TOGGLE: handleFont(bv, LM_TC_GREEK); break;
case LFUN_EMPH: handleFont(bv, LM_TC_CAL); break;
case LFUN_ROMAN: handleFont(bv, LM_TC_RM); break;
case LFUN_CODE: handleFont(bv, LM_TC_TT); break;
+ case LFUN_FRAK: handleFont(bv, LM_TC_EUFRAK); break;
+ case LFUN_ITAL: handleFont(bv, LM_TC_IT); break;
case LFUN_NOUN: handleFont(bv, LM_TC_BB); break;
case LFUN_DEFAULT: handleFont(bv, LM_TC_VAR); break;
+ case LFUN_FREE: handleFont(bv, LM_TC_TEXTRM); break;
case LFUN_GREEK:
handleFont(bv, LM_TC_GREEK1);
case LFUN_MATH_MODE:
//handleFont(bv, LM_TC_TEXTRM);
- mathcursor->niceInsert(MathAtom(new MathHullInset(LM_OT_SIMPLE)));
- updateLocal(bv, true);
+
+ //mathcursor->niceInsert(MathAtom(new MathHullInset(LM_OT_SIMPLE)));
+ //updateLocal(bv, true);
+
//bv->owner()->message(_("math text mode toggled"));
break;