class Buffer;
class LyXScreen;
class WorkArea;
+class Language;
///
class BufferView : public noncopyable {
*/
LyXText * text;
///
+ 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.
*/
///
void pushIntoUpdateList(Inset * i);
+#if 0
///
void workAreaExpose();
///
void enterView();
///
void leaveView();
+#endif
///
bool ChangeRefs(string const & from, string const & to);
///