diff --git a/src/CutAndPaste.C b/src/CutAndPaste.C index a675c34801..a492d65196 100644 --- a/src/CutAndPaste.C +++ b/src/CutAndPaste.C @@ -589,7 +589,7 @@ void copySelection(LCursor & cur) } if (cur.inMathed()) { - lyxerr << "copySelection in mathed" << endl; + //lyxerr << "copySelection in mathed" << endl; ParagraphList pars; pars.push_back(Paragraph()); BufferParams const & bp = cur.buffer().params(); diff --git a/src/mathed/math_nestinset.C b/src/mathed/math_nestinset.C index f76a15ff5c..6900d4922c 100644 --- a/src/mathed/math_nestinset.C +++ b/src/mathed/math_nestinset.C @@ -1338,7 +1338,7 @@ bool MathNestInset::script(LCursor & cur, bool up, string const & save_selection) { // Hack to get \^ and \_ working - lyxerr << "handling script: up: " << up << endl; + //lyxerr << "handling script: up: " << up << endl; if (cur.inMacroMode() && cur.macroName() == "\\") { if (up) cur.niceInsert(createMathInset("mathcircumflex")); @@ -1351,7 +1351,7 @@ bool MathNestInset::script(LCursor & cur, bool up, string const & if (asScriptInset() && cur.idx() == 0) { // we are in a nucleus of a script inset, move to _our_ script MathScriptInset * inset = asScriptInset(); - lyxerr << " going to cell " << inset->idxOfScript(up) << endl; + //lyxerr << " going to cell " << inset->idxOfScript(up) << endl; inset->ensure(up); cur.idx() = inset->idxOfScript(up); cur.pos() = 0; diff --git a/src/mathed/math_scriptinset.C b/src/mathed/math_scriptinset.C index 3c1797143c..eec8228673 100644 --- a/src/mathed/math_scriptinset.C +++ b/src/mathed/math_scriptinset.C @@ -308,12 +308,9 @@ bool MathScriptInset::hasLimits() const void MathScriptInset::removeScript(bool up) { - lyxerr << "MathScriptInset::removeScript: 1 up: " << up << endl; if (nargs() == 2) { - lyxerr << "MathScriptInset::removeScript: a up: " << up << endl; if (up == cell_1_is_up_) cells_.pop_back(); - lyxerr << "MathScriptInset::removeScript: b up: " << up << endl; } else if (nargs() == 3) { if (up == true) { swap(cells_[1], cells_[2]);