la += inset.paragraph()->getChar(j);
++i;
}
la += inset.paragraph()->getChar(j);
++i;
}
- if (inset.paragraph()->next() || (i > 0 && j < p_siz)) {
+ if (i > 0 && j < p_siz) {
la += "...";
}
if (la.empty()) {
la += "...";
}
if (la.empty()) {
-
-
-void InsetERT::update(BufferView * bv, LyXFont const & font,
- bool reinit)
-{
- if (inset.need_update & InsetText::INIT ||
- inset.need_update & InsetText::FULL)
- {
- setButtonLabel();
- }
- InsetCollapsable::update(bv, font, reinit);
-}
}
///
int getMaxWidth(BufferView *, UpdatableInset const *) const;
}
///
int getMaxWidth(BufferView *, UpdatableInset const *) const;
- ///
- void update(BufferView *, LyXFont const &, bool =false);