]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insettabular.h
Don't remove cell selections after fontchange.
[lyx.git] / src / insets / insettabular.h
index d53d4305d292c863f225163463bd41e4e5beb003..1d358d53d468c297091d8e1f2ecdf827ed708a08 100644 (file)
@@ -56,7 +56,7 @@
 #include "tabular.h"
 #include "LString.h"
 #include "lyxcursor.h"
-#include "func_status.h"
+#include "FuncStatus.h"
 
 class LyXLex;
 class Painter;
@@ -131,7 +131,7 @@ public:
        ///
        bool display() const { return tabular->IsLongTabular(); }
        ///
-       void insetButtonRelease(BufferView *, int, int, int);
+       bool insetButtonRelease(BufferView *, int, int, int);
        ///
        void insetButtonPress(BufferView *, int, int, int);
        ///
@@ -183,7 +183,7 @@ public:
        ///
        bool showInsetDialog(BufferView *) const;
        ///
-       func_status::value_type getStatus(string const & argument) const;
+       FuncStatus getStatus(string const & argument) const;
        ///
        std::vector<string> const getLabelList() const;
        ///
@@ -218,10 +218,14 @@ public:
        void toggleSelection(BufferView *, bool kill_selection);
        ///
        bool searchForward(BufferView *, string const &,
-                          bool const & = true, bool const & = false);
+                          bool = true, bool = false);
        bool searchBackward(BufferView *, string const &,
-                           bool const & = true, bool const & = false);
+                           bool = true, bool = false);
 
+       // this should return true if we have a "normal" cell, otherwise true.
+       // "normal" means without width set!
+       bool forceDefaultParagraphs(Inset const * in) const;
+       
        //
        // Public structures and variables
        ///