]> git.lyx.org Git - lyx.git/blobdiff - src/BufferView.h
Dekels tabular/textinset patches
[lyx.git] / src / BufferView.h
index 47deee2bfd57af7b0c6a3ec68c5bc8bda97768d9..b9ca44b8b5d9d5119429c932e7d09c85f8837948 100644 (file)
@@ -26,6 +26,7 @@ class TeXErrors;
 class Buffer;
 class LyXScreen;
 class WorkArea;
+class Language;
 
 ///
 class BufferView : public noncopyable {
@@ -102,6 +103,10 @@ public:
        ///
        LyXText * getLyXText() const;
        ///
+       LyXText * getParentText(Inset * inset) const;
+       ///
+       Language const * getParentLanguage(Inset * inset) const;
+       ///
        int workWidth() const;
        ///
        UpdatableInset * theLockingInset() const;
@@ -188,7 +193,7 @@ public:
        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.
        */
@@ -232,6 +237,7 @@ public:
 
        ///
        void pushIntoUpdateList(Inset * i);
+#if 0
        ///
        void workAreaExpose();
        ///
@@ -248,6 +254,7 @@ public:
        void enterView();
        ///
        void leaveView();
+#endif
        ///
        bool ChangeRefs(string const & from, string const & to);
        ///