X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2FMathMacro.h;h=bab83a44939b0d8650f0101af3110349776d8872;hb=36dbec45069bf3d9db923200835e44f44d904eb8;hp=0209ac6a36394c112e7d1e74c635f430e2125192;hpb=95146d3cf911230ee6c810e22d0243f83ce977a3;p=features.git diff --git a/src/mathed/MathMacro.h b/src/mathed/MathMacro.h index 0209ac6a36..bab83a4493 100644 --- a/src/mathed/MathMacro.h +++ b/src/mathed/MathMacro.h @@ -127,11 +127,11 @@ protected: /// update the display mode (should only be called after detaching arguments) void setDisplayMode(DisplayMode mode); /// compute the next display mode - DisplayMode computeDisplayMode(MetricsInfo const & mi) const; + DisplayMode computeDisplayMode() const; /// update macro definition - void updateMacro(MetricsInfo & mi); + void updateMacro(MacroContext const & mc); /// check if macro definition changed, argument changed etc. and adapt - void updateRepresentation(MetricsInfo & mi); + void updateRepresentation(Cursor const * bvCur); /// empty macro, put arguments into args, possibly strip arity-attachedArgsNum_ empty ones. /// Includes the optional arguments. void detachArguments(std::vector & args, bool strip);