Changing the #if 0 to #if 1 in int InsetText::getMaxWidth(BufferView * bv, UpdatableInset const * inset) const { #if 0 int w = UpdatableInset::getMaxWidth(bv, inset); if (w < 0) { return -1; } if (owner()) { w = w - top_x + owner()->x(); return w; } w -= (2 * TEXT_TO_INSET_OFFSET); return w - top_x; #else return UpdatableInset::getMaxWidth(bv, inset); #endif }
fixes the remaining "drawing issue" as far as I can tell. Note that this fix does exactly the wrong thing as the resulting text insets are too narrow. However, this is how 1.3.x looks like! And no, I don't understand that code. And I don't like it. John, please can you have a look whether there are other problems with the update patch posted yesterday and this change here? Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson or B. Franklin or both...)