mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-23 10:18:50 +00:00
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:
parent
d0cb2cc0b7
commit
defe820a8a
@ -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())
|
||||
|
@ -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;
|
||||
|
@ -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);
|
||||
|
@ -17,6 +17,8 @@
|
||||
#include "ColorCode.h"
|
||||
#include "Text.h"
|
||||
|
||||
#include "insets/InsetLayout.h"
|
||||
|
||||
namespace lyx {
|
||||
|
||||
class CompletionList;
|
||||
|
Loading…
Reference in New Issue
Block a user