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()
|
void Inset::initView()
|
||||||
{
|
{
|
||||||
if (isLabeled())
|
if (isLabeled())
|
||||||
|
@ -206,11 +206,11 @@ public:
|
|||||||
CursorSlice const & sl, bool boundary, int & x, int & y) const;
|
CursorSlice const & sl, bool boundary, int & x, int & y) const;
|
||||||
|
|
||||||
/// Allow multiple blanks
|
/// Allow multiple blanks
|
||||||
virtual bool isFreeSpacing() const { return getLayout().isFreeSpacing(); }
|
virtual bool isFreeSpacing() const;
|
||||||
/// Don't eliminate empty paragraphs
|
/// 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?
|
/// 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?
|
/// Where should we go when we press the up or down cursor key?
|
||||||
virtual bool idxUpDown(Cursor & cur, bool up) const;
|
virtual bool idxUpDown(Cursor & cur, bool up) const;
|
||||||
|
@ -126,8 +126,6 @@ public:
|
|||||||
/// Returns the geometry disregarding auto_open_
|
/// Returns the geometry disregarding auto_open_
|
||||||
Geometry geometry() const;
|
Geometry geometry() const;
|
||||||
///
|
///
|
||||||
bool allowMultiPar() const;
|
|
||||||
///
|
|
||||||
bool getStatus(Cursor &, FuncRequest const &, FuncStatus &) const;
|
bool getStatus(Cursor &, FuncRequest const &, FuncStatus &) const;
|
||||||
///
|
///
|
||||||
void setStatus(Cursor & cur, CollapseStatus st);
|
void setStatus(Cursor & cur, CollapseStatus st);
|
||||||
|
@ -17,6 +17,8 @@
|
|||||||
#include "ColorCode.h"
|
#include "ColorCode.h"
|
||||||
#include "Text.h"
|
#include "Text.h"
|
||||||
|
|
||||||
|
#include "insets/InsetLayout.h"
|
||||||
|
|
||||||
namespace lyx {
|
namespace lyx {
|
||||||
|
|
||||||
class CompletionList;
|
class CompletionList;
|
||||||
|
Loading…
Reference in New Issue
Block a user