class Paragraph;
class LyXCursor;
-/** A colapsable text inset
+/** A collapsable text inset
*/
class InsetCollapsable : public UpdatableInset {
static int const TEXT_TO_TOP_OFFSET = 2;
///
static int const TEXT_TO_BOTTOM_OFFSET = 2;
- ///
- InsetCollapsable();
+ /// inset is initially collapsed if bool = true
+ InsetCollapsable(bool = false);
///
void read(Buffer const *, LyXLex &);
///
///
bool autocollapse;
///
- int widthCollapsed;
+ mutable int widthCollapsed;
///
mutable int oldWidth;
///