]> git.lyx.org Git - lyx.git/blobdiff - src/insets/inset.h
The markDirty() and fitCursor() changes
[lyx.git] / src / insets / inset.h
index 77216216bcee17dd2a8d85668184ebb59287af34..0f4815037a4bc380e1472bfc6e88b14bd16a01be 100644 (file)
@@ -123,7 +123,13 @@ public:
                ///
                INDEX_PRINT_CODE,
                ///
-               OPTARG_CODE
+               OPTARG_CODE,
+               ///
+               ENVIRONMENT_CODE, 
+               ///
+               HFILL_CODE,
+               ///
+               NEWLINE_CODE
        };
 
        ///
@@ -156,8 +162,7 @@ public:
        ///
        virtual int width(BufferView *, LyXFont const &) const = 0;
        ///
-       virtual void draw(BufferView *, LyXFont const &,
-                         int baseline, float & x, bool cleared) const = 0;
+       virtual void draw(BufferView *, LyXFont const &, int baseline, float & x) const = 0;
        /// update the inset representation
        virtual void update(BufferView *, LyXFont const &, bool = false)
                {}
@@ -171,8 +176,6 @@ public:
        virtual EDITABLE editable() const;
        ///
        virtual bool isTextInset() const { return false; }
-       ///
-       virtual bool doClearArea() const { return true; }
        /// return true if the inset should be removed automatically
        virtual bool autoDelete() const;
        /// returns true the inset can hold an inset of given type
@@ -320,7 +323,7 @@ public:
 
        /// mark the inset contents as erased (for change tracking)
        virtual void markErased() {}
+
        /** Adds a LaTeX snippet to the Preview Loader for transformation
         *  into a bitmap image. Does not start the laoding process.
         *