From: Enrico Forestieri Date: Mon, 31 May 2010 23:02:04 +0000 (+0000) Subject: Only white space. X-Git-Tag: 2.0.0~3194 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=c4faa16f2097a3af1b3111b5c8bd2f2c14c3030d;p=features.git Only white space. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34561 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/mathed/MathData.cpp b/src/mathed/MathData.cpp index 98f3e04bbd..f7eb757ec3 100644 --- a/src/mathed/MathData.cpp +++ b/src/mathed/MathData.cpp @@ -624,7 +624,7 @@ void MathData::attachMacroParameters(Cursor * cur, size_t p = macroPos + 1; vector detachedArgs; MathAtom scriptToPutAround; - + // find cursor slice again of this MathData int thisSlice = -1; if (cur) @@ -632,7 +632,7 @@ void MathData::attachMacroParameters(Cursor * cur, int thisPos = -1; if (thisSlice != -1) thisPos = (*cur)[thisSlice].pos(); - + // find arguments behind the macro if (!interactiveInit) { collectOptionalParameters(cur, macroOptionals, detachedArgs, p, @@ -640,10 +640,10 @@ void MathData::attachMacroParameters(Cursor * cur, } collectParameters(cur, macroNumArgs, detachedArgs, p, scriptToPutAround, macroPos, thisPos, thisSlice, appetite); - + // attach arguments back to macro inset macroInset->attachArguments(detachedArgs, macroNumArgs, macroOptionals); - + // found tail script? E.g. \foo{a}b^x if (scriptToPutAround.nucleus()) { // put macro into a script inset @@ -660,7 +660,7 @@ void MathData::attachMacroParameters(Cursor * cur, = operator[](macroPos).nucleus()->asScriptInset(); macroInset = scriptInset->nuc()[0].nucleus()->asMacro(); } - + // remove them from the MathData erase(begin() + macroPos + 1, begin() + p);