/// to name()
void setLayout(TextClassPtr tc);
///
+ virtual bool useEmptyLayout() { return true; }
+ ///
void read(Buffer const &, Lexer &);
///
void write(Buffer const &, std::ostream &) const;
virtual bool allowEmpty() const { return layout_->keepempty; }
/// Force inset into LTR environment if surroundings are RTL?
virtual bool forceLTR() const { return layout_->forceltr; }
+ ///
+ virtual bool useEmptyLayout() const { return true; }
protected:
///
virtual void doDispatch(Cursor & cur, FuncRequest & cmd);
///
void edit(Cursor & cur, bool front,
- EntryDirectionType entry_from = IGNORE_ENTRY_DIRECTION);
+ EntryDirection entry_from = ENTRY_DIRECTION_IGNORE);
///
Inset * editXY(Cursor & cur, int x, int y);
///