src/minibuffer.C
src/paragraph.C
src/support/filetools.C
-src/support/getUserName.C
-src/support/path.C
-src/support/path.h
src/tabular.C
src/text2.C
src/text.C
+2002-04-30 Herbert Voss <voss@lyx.org>
+
+ * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
+ "keep" option
+
2002-05-31 John Levon <moz@compsoc.man.ac.uk>
* lyxvc.C: fix bug 416 (make sure buffer is saved before
} else if (token == "\\added_space_top") {
lex.nextToken();
VSpace value = VSpace(lex.getString());
+ // only add the length when value > 0 or
+ // with option keep
if ((value.length().len().value() != 0) ||
+ value.keep() ||
(value.kind() != VSpace::LENGTH))
- par->params().spaceTop(value);
+ par->params().spaceTop(value);
} else if (token == "\\added_space_bottom") {
lex.nextToken();
VSpace value = VSpace(lex.getString());
+ // only add the length when value > 0 or
+ // with option keep
if ((value.length().len().value() != 0) ||
+ value.keep() ||
(value.kind() != VSpace::LENGTH))
- par->params().spaceBottom(value);
+ par->params().spaceBottom(value);
#ifndef NO_COMPABILITY
#ifndef NO_PEXTRA_REALLY
} else if (token == "\\pextra_type") {
+2002-05-31 Juergen Vigna <jug@sad.it>
+
+ * insetert.C (get_new_label): add '...' for multi-paragraph ert
+ insets too
+ (update) new method
+
2002-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
* insetexternal.C (clone): fix () bug when using new
la += inset.paragraph()->getChar(j);
++i;
}
- if (i > 0 && j < p_siz) {
+ if (inset.paragraph()->next() || (i > 0 && j < p_siz)) {
la += "...";
}
if (la.empty()) {
return -1;
return w;
}
+
+
+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;
+ ///
+ void update(BufferView *, LyXFont const &, bool =false);
private:
///