/// Note that this is 1 right now to avoid
/// crashes where getChar() is called wrongly
/// (returning 0) - if this was 0, then we'd
/// Note that this is 1 right now to avoid
/// crashes where getChar() is called wrongly
/// (returning 0) - if this was 0, then we'd
void changeLanguage(BufferParams const & bparams,
Language const * from, Language const * to);
///
void changeLanguage(BufferParams const & bparams,
Language const * from, Language const * to);
///
/// the paragraph alongside the text of the rest of the paragraph
/// (the body). This function returns the starting position of the
/// body of the text in the paragraph.
/// the paragraph alongside the text of the rest of the paragraph
/// (the body). This function returns the starting position of the
/// body of the text in the paragraph.
- void insertChar(lyx::pos_type pos, value_type c, LyXFont const &, Change change = Change(Change::INSERTED));
+ void insertChar(lyx::pos_type pos, value_type c,
+ LyXFont const &, Change change = Change(Change::INSERTED));
- void insertInset(lyx::pos_type pos, InsetOld * inset, LyXFont const &, Change change = Change(Change::INSERTED));
+ void insertInset(lyx::pos_type pos, InsetBase * inset,
+ LyXFont const &, Change change = Change(Change::INSERTED));