-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)
-{
- 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)
-{
- Font font(FONT_INHERIT, latex_language);
- paragraphs().begin()->insert(0, contents, font);
-
- // the init has to be after the initialization of the paragraph
- // because of the label settings (draw_label for ert insets).
- init();
-}
-#endif
-
-
-InsetERT::~InsetERT()