-using support::token;
-
-using std::endl;
-using std::min;
-
-using std::istringstream;
-using std::ostream;
-using std::ostringstream;
-using std::string;
-
-
-void InsetERT::init()
-{
- setButtonLabel();
- // FIXME: what to do with those?
- //text_.current_font.setLanguage(latex_language);
- //text_.real_current_font.setLanguage(latex_language);
-}
-
-
-InsetERT::InsetERT(BufferParams const & bp, CollapseStatus status)
- : InsetCollapsable(bp, status)
-{
- setLayout(bp);
- init();
-}
-
-
-InsetERT::InsetERT(InsetERT const & in)
- : InsetCollapsable(in)
-{
- init();
-}
-
-
-Inset * InsetERT::clone() const
-{
- return new InsetERT(*this);
-}
-
-
-#if 0
-InsetERT::InsetERT(BufferParams const & bp,
- Language const *, string const & contents, CollapseStatus status)
- : InsetCollapsable(bp, status)
+InsetERT::InsetERT(Buffer * buf, CollapseStatus status)
+ : InsetCollapsible(buf)