src/frontends/qt2/FormCharacter.C
src/frontends/qt2/FormCitation.C
src/frontends/qt2/FormCopyright.C
+src/frontends/qt2/FormDocument.C
+src/frontends/qt2/FormIndex.C
src/frontends/qt2/FormParagraph.C
src/frontends/qt2/FormPrint.C
+src/frontends/qt2/FormRef.C
src/frontends/qt2/FormSearch.C
src/frontends/qt2/FormTabularCreate.C
+src/frontends/qt2/FormToc.C
+src/frontends/qt2/FormUrl.C
src/frontends/qt2/paragraphdlgimpl.C
src/frontends/qt2/tabularcreatedlgimpl.C
src/frontends/xforms/combox.C
+2001-03-23 Juergen Vigna <jug@sad.it>
+
+ * insettext.C (draw): force a FULL update if cleared == true.
+
+ * insetcollapsable.C (draw): Lars forgotten entry for changing this
+ routine to draw the minipages on its position-flag.
+ (InsetInInsetY): give back the right y position, because of minipage
+ position-flag.
+
2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
* insetfloat.h
cleared = true;
}
- // not needed if collapsed
top_x = int(x);
top_baseline = baseline;
-#if 0
- draw_collapsed(pain, f, baseline, x);
- inset->draw(bv, f, baseline, x, cleared);
-#else
-#warning Jürgen, can you have a look at this? (Lgb)
- // the intention is quite clear if you set the positon in a minipage you
- // want the minipage drawn according to that. but as you can see the
- // cursor is wrongly placed.
draw_collapsed(pain, f,
baseline - ascent(bv, f) + ascent_collapsed(pain, f),
x);
- inset->draw(bv, f,
+ inset->draw(bv, f,
baseline - ascent(bv, f) + ascent_collapsed(pain, f),
x, cleared);
-#endif
need_update = NONE;
}
unsigned int InsetCollapsable::InsetInInsetY()
{
- return inset->InsetInInsetY();
+ return inset->InsetInInsetY() - (top_baseline - inset->y());
}
bv->text->status = LyXText::CHANGED_IN_DRAW;
return;
}
+ if (cleared)
+ need_update = FULL;
top_baseline = baseline;
top_y = baseline - ascent(bv, f);