// target
if (x_target_ == -1)
setTargetX(xo);
- else if (inset().asTextInset() && xo - textTargetOffset() != x_target()) {
+ else if (inset().asInsetText() && xo - textTargetOffset() != x_target()) {
// In text mode inside the line (not left or right) possibly set a new target_x,
// but only if we are somewhere else than the previous target-offset.
class Dimension;
class FuncRequest;
class FuncStatus;
-class InsetIterator;
class InsetCollapsable;
+class InsetIterator;
class InsetLayout;
class InsetList;
class InsetMath;
virtual InsetMath * asInsetMath() { return 0; }
/// true for 'math' math inset, but not for e.g. mbox
virtual bool inMathed() const { return false; }
- /// is this inset based on the TextInset class?
- virtual InsetText * asTextInset() { return 0; }
- /// is this inset based on the TextInset class?
- virtual InsetText const * asTextInset() const { return 0; }
+ /// is this inset based on the InsetText class?
+ virtual InsetText * asInsetText() { return 0; }
+ /// is this inset based on the InsetText class?
+ virtual InsetText const * asInsetText() const { return 0; }
/// is this inset based on the InsetCollapsable class?
virtual InsetCollapsable * asInsetCollapsable() { return 0; }
/// is this inset based on the InsetCollapsable class?
virtual InsetCollapsable const * asInsetCollapsable() const { return 0; }
-
+
/// the real dispatcher
void dispatch(Cursor & cur, FuncRequest & cmd);
/**
///
bool canTrackChanges() const { return true; }
///
- InsetText * asTextInset() { return this; }
+ InsetText * asInsetText() { return this; }
///
- InsetText const * asTextInset() const { return this; }
+ InsetText const * asInsetText() const { return this; }
///
int latex(Buffer const &, odocstream &, OutputParams const &) const;
///