From: André Pönitz Date: Wed, 8 Jan 2003 17:38:47 +0000 (+0000) Subject: only scream when asked... X-Git-Tag: 1.6.10~17713 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=6caa1b7bc53b430bb815fe394bedb475c718f315;p=lyx.git only scream when asked... git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5924 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/mathed/formulabase.C b/src/mathed/formulabase.C index 758dc0c611..be8ee3c160 100644 --- a/src/mathed/formulabase.C +++ b/src/mathed/formulabase.C @@ -234,7 +234,7 @@ void InsetFormulaBase::getCursorPos(BufferView *, int & x, int & y) const void InsetFormulaBase::toggleInsetCursor(BufferView * bv) { if (!mathcursor) { - lyxerr << "toggleInsetCursor impossible" << endl; + lyxerr[Debug::MATHED] << "toggleInsetCursor impossible" << endl; return; } //lyxerr << "toggleInsetCursor: " << isCursorVisible() << endl; @@ -356,7 +356,7 @@ Inset::RESULT InsetFormulaBase::lfunMousePress(FuncRequest const & cmd) //lyxerr << "lfunMousePress: buttons: " << cmd.button() << endl; if (!mathcursor || mathcursor->formula() != this) { - lyxerr << "re-create cursor" << endl; + lyxerr[Debug::MATHED] << "re-create cursor" << endl; releaseMathCursor(bv); mathcursor = new MathCursor(this, cmd.x == 0); metrics(bv);