]> git.lyx.org Git - lyx.git/blobdiff - src/insets/inset.h
The markDirty() and fitCursor() changes
[lyx.git] / src / insets / inset.h
index 4241b81d70af25256db90245e7a890ea9babbe92..0f4815037a4bc380e1472bfc6e88b14bd16a01be 100644 (file)
@@ -125,7 +125,11 @@ public:
                ///
                OPTARG_CODE,
                ///
-               HFILL_CODE
+               ENVIRONMENT_CODE, 
+               ///
+               HFILL_CODE,
+               ///
+               NEWLINE_CODE
        };
 
        ///
@@ -158,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)
                {}
@@ -173,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
@@ -322,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.
         *