///
virtual docstring const editMessage() const;
///
- Inset::Code lyxCode() const { return Inset::BRANCH_CODE; }
+ InsetCode lyxCode() const { return BRANCH_CODE; }
///
void write(Buffer const &, std::ostream &) const;
///
///
void setButtonLabel();
///
+ virtual ColorCode backgroundColor() const;
+ ///
bool showInsetDialog(BufferView *) const;
///
int latex(Buffer const &, odocstream &,
- OutputParams const &) const;
+ OutputParams const &) const;
///
int plaintext(Buffer const &, odocstream &,
- OutputParams const &) const;
+ OutputParams const &) const;
///
int docbook(Buffer const &, odocstream &,
- OutputParams const &) const;
+ OutputParams const &) const;
///
void textString(Buffer const & buf, odocstream &) const;
///
bool isBranchSelected(Buffer const & buffer) const;
///
bool getStatus(Cursor &, FuncRequest const &, FuncStatus &) const;
-
+ ///
+ virtual void updateLabels(Buffer const &, ParIterator const &);
+ ///
+ bool isMacroScope(Buffer const & buf) const;
protected:
///
InsetBranch(InsetBranch const &);
///
virtual void doDispatch(Cursor & cur, FuncRequest & cmd);
///
- docstring insetName() const { return from_ascii("Branch"); }
+ docstring name() const { return from_ascii("Branch"); }
private:
friend class InsetBranchParams;
- virtual std::auto_ptr<Inset> doClone() const;
+ virtual Inset * clone() const;
- /// used by the constructors
- void init();
///
InsetBranchParams params_;
};