[EMAIL PROTECTED] wrote:
Author: younes
Date: Fri Sep 21 22:39:47 2007
New Revision: 20420
URL: http://www.lyx.org/trac/changeset/20420
Log:
* Inset:
- get rid of the cached Dimension. Text inset dimensions are saved in
ParagraphMetrics and mathed maintain their own dimension where needed.
- width(), ascent(), descent(): deleted.
- dimension(): now needs a valid BufferView.
- metrics(): now void.
* BufferView::getCoveringInset(): simplify.
* ParagraphMetrics(): now cache inset dimensions.
Dear Martin,
I am sorry but I'm affraid I broke InsetCollapsable (again!) for
SubLabel and Corner. If you tell me how to test these I'll fix them.
Sorry about that,
Abdel.