note to self: always compile before committing

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30550 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2009-07-13 15:57:08 +00:00
parent d0cb2cc0b7
commit defe820a8a
4 changed files with 21 additions and 5 deletions

View File

@ -160,6 +160,22 @@ docstring Inset::name() const
}
bool Inset::isFreeSpacing() const
{
return getLayout().isFreeSpacing();
}
bool Inset::allowEmpty() const
{
return getLayout().isKeepEmpty();
}
bool Inset::forceLTR() const
{
return getLayout().isForceLtr();
}
void Inset::initView()
{
if (isLabeled())

View File

@ -206,11 +206,11 @@ public:
CursorSlice const & sl, bool boundary, int & x, int & y) const;
/// Allow multiple blanks
virtual bool isFreeSpacing() const { return getLayout().isFreeSpacing(); }
virtual bool isFreeSpacing() const;
/// Don't eliminate empty paragraphs
virtual bool allowEmpty() const { return getLayout().isKeepEmpty(); }
virtual bool allowEmpty() const;
/// Force inset into LTR environment if surroundings are RTL?
virtual bool forceLTR() const { return getLayout().isForceLtr(); }
virtual bool forceLTR() const;
/// Where should we go when we press the up or down cursor key?
virtual bool idxUpDown(Cursor & cur, bool up) const;

View File

@ -126,8 +126,6 @@ public:
/// Returns the geometry disregarding auto_open_
Geometry geometry() const;
///
bool allowMultiPar() const;
///
bool getStatus(Cursor &, FuncRequest const &, FuncStatus &) const;
///
void setStatus(Cursor & cur, CollapseStatus st);

View File

@ -17,6 +17,8 @@
#include "ColorCode.h"
#include "Text.h"
#include "insets/InsetLayout.h"
namespace lyx {
class CompletionList;