class Buffer;
class LyXScreen;
class WorkArea;
+class Language;
///
class BufferView : public noncopyable {
///
LyXText * getLyXText() const;
///
+ LyXText * getParentText(Inset * inset) const;
+ ///
+ Language const * getParentLanguage(Inset * inset) const;
+ ///
int workWidth() const;
///
UpdatableInset * theLockingInset() const;
bool insertInset(Inset * inset, string const & lout = string(),
bool no_table = false);
/// open and lock an updatable inset
- bool open_new_inset(UpdatableInset * new_inset);
+ bool open_new_inset(UpdatableInset * new_inset, bool behind = false);
/** Inserts a lyx file at cursor position.
@return #false# if it fails.
*/