///
bool insertInset(BufferView *, Inset *);
///
- bool insetAllowed(Inset::Code) const { return false; }
+ bool insetAllowed(Inset::Code code) const { return code == Inset::NEWLINE_CODE; }
///
void setFont(BufferView *, LyXFont const &,
bool toggleall = false, bool selectall = false);
///
int width(BufferView *, LyXFont const &) const;
///
- void draw(BufferView *, const LyXFont &, int , float &, bool) const;
+ void draw(BufferView *, const LyXFont &, int , float &) const;
/// set the status of the inset
void status(BufferView *, ERTStatus const st) const;
///