2 /* This file is part of
3 * ======================================================
5 * LyX, The Document Processor
7 * Copyright 1998 The LyX Team.
9 *======================================================
11 // The pristine updatable inset: Text
21 #include "insetcollapsable.h"
27 /** A colapsable text inset
29 To write full ert (including styles and other insets) in a given
32 class InsetERT : public InsetCollapsable {
39 Inset * Clone() const;
41 void Write(ostream &) const;
43 const char * EditMessage() const { return _("Opened ERT Inset");}
45 bool InsertInset(BufferView *, Inset *);
47 void SetFont(BufferView *, LyXFont const &, bool toggleall = false);
49 void Edit(BufferView *, int, int, unsigned int);