]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/formulabase.C
fix build, thesaurus
[lyx.git] / src / mathed / formulabase.C
index 94b3a8569a57f4d019e1e689485272810f99e461..d26933e0e556ebfa27aa0bd8ad10cbf94406a025 100644 (file)
@@ -378,6 +378,8 @@ InsetFormulaBase::localDispatch(BufferView * bv, kb_action action,
        case LFUN_RIGHT:
                result = mathcursor->right(sel) ? DISPATCHED : FINISHED_RIGHT;
                updateLocal(bv, false);
+               // write something to the minibuffer
+               //bv->owner()->message(mathcursor->info());
                break;
 
 
@@ -508,6 +510,7 @@ InsetFormulaBase::localDispatch(BufferView * bv, kb_action action,
        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;
@@ -725,7 +728,7 @@ int InsetFormulaBase::xhigh() const
 
 
 bool InsetFormulaBase::searchForward(BufferView * bv, string const & str,
-                   bool const &, bool const &)
+                                    bool, bool)
 {
 #ifdef WITH_WARNINGS
 #warning pretty ugly
@@ -772,7 +775,7 @@ bool InsetFormulaBase::searchForward(BufferView * bv, string const & str,
 
 
 bool InsetFormulaBase::searchBackward(BufferView * bv, string const & what,
-                    bool const & a, bool const & b)
+                                     bool a, bool b)
 {
        lyxerr << "searching backward not implemented in mathed" << endl;
        return searchForward(bv, what, a, b);