mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-10 20:04:46 +00:00
* 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:
parent
03a1c9192e
commit
8aac28367e
@ -465,7 +465,7 @@ void MathMacroTemplate::updateToContext(MacroContext const & mc) const
|
||||
}
|
||||
|
||||
|
||||
void MathMacroTemplate::updateLook(bool editing) const
|
||||
void MathMacroTemplate::updateLook() const
|
||||
{
|
||||
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)
|
||||
{
|
||||
updateLook(true);
|
||||
updateLook();
|
||||
cur.updateFlags(Update::SinglePar);
|
||||
InsetMathNest::edit(cur, front, entry_from);
|
||||
}
|
||||
|
@ -132,7 +132,7 @@ private:
|
||||
///
|
||||
idx_type displayIdx() const { return optionals_ + 2; }
|
||||
///
|
||||
void updateLook(bool editing = false) const;
|
||||
void updateLook() const;
|
||||
/// look through the macro for #n arguments
|
||||
int maxArgumentInDefinition() const;
|
||||
/// add missing #n arguments up to \c maxArg
|
||||
|
Loading…
Reference in New Issue
Block a user