X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2Finsettabular.h;h=1d358d53d468c297091d8e1f2ecdf827ed708a08;hb=4a5b7a5952ad2381fcdf4830511293e184c7c5a1;hp=d53d4305d292c863f225163463bd41e4e5beb003;hpb=7fdf62dd8ed3771d17253822fc1722144ab8b4e5;p=lyx.git diff --git a/src/insets/insettabular.h b/src/insets/insettabular.h index d53d4305d2..1d358d53d4 100644 --- a/src/insets/insettabular.h +++ b/src/insets/insettabular.h @@ -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 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 ///