]> git.lyx.org Git - features.git/blobdiff - src/insets/lyxinset.h
read the Changelog
[features.git] / src / insets / lyxinset.h
index 1a190f2b69c265da4f19cba6de2da77319e9bdfb..ba66d0f74b6e3ad507f4e592fb656ced5dbaf4a8 100644 (file)
@@ -31,7 +31,6 @@ class LyXText;
 struct LaTeXFeatures;
 
 
-
 /// Insets
 class Inset {
 public:
@@ -128,7 +127,7 @@ public:
        virtual void draw(BufferView *, LyXFont const &,
                          int baseline, float & x, bool cleared) const = 0;
        /// update the inset representation
-       virtual void update(BufferView *, LyXFont const &, bool =false)
+       virtual void update(BufferView *, LyXFont const &, bool = false)
                {}
        ///
        virtual LyXFont ConvertFont(LyXFont font);
@@ -212,7 +211,8 @@ public:
        /// because we could have fake text insets and have to call this
        /// inside them without cast!!!
        virtual LyXText * getLyXText(BufferView *) const;
-       virtual void deleteLyXText(BufferView *) const {}
+       virtual void deleteLyXText(BufferView *, bool =true) const {}
+       virtual void resizeLyXText(BufferView *) const {}
 
 protected:
        ///