* the look does not depent on "editing" anymore as the edit-layout is dynamic.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23450 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Stefan Schimanski 2008-03-04 14:57:34 +00:00
parent 03a1c9192e
commit 8aac28367e
2 changed files with 3 additions and 3 deletions

View File

@ -465,7 +465,7 @@ void MathMacroTemplate::updateToContext(MacroContext const & mc) const
} }
void MathMacroTemplate::updateLook(bool editing) const void MathMacroTemplate::updateLook() const
{ {
lookOutdated_ = true; lookOutdated_ = true;
} }
@ -609,7 +609,7 @@ void MathMacroTemplate::draw(PainterInfo & pi, int x, int y) const
void MathMacroTemplate::edit(Cursor & cur, bool front, EntryDirection entry_from) void MathMacroTemplate::edit(Cursor & cur, bool front, EntryDirection entry_from)
{ {
updateLook(true); updateLook();
cur.updateFlags(Update::SinglePar); cur.updateFlags(Update::SinglePar);
InsetMathNest::edit(cur, front, entry_from); InsetMathNest::edit(cur, front, entry_from);
} }

View File

@ -132,7 +132,7 @@ private:
/// ///
idx_type displayIdx() const { return optionals_ + 2; } idx_type displayIdx() const { return optionals_ + 2; }
/// ///
void updateLook(bool editing = false) const; void updateLook() const;
/// look through the macro for #n arguments /// look through the macro for #n arguments
int maxArgumentInDefinition() const; int maxArgumentInDefinition() const;
/// add missing #n arguments up to \c maxArg /// add missing #n arguments up to \c maxArg