///
Inset::Code lyxCode() const { return Inset::NOTE_CODE; }
///
- docstring name() const { return from_ascii("Note"); }
+ docstring name() const;
/// framed and shaded notes are displayed
virtual DisplayType display() const;
///
void read(Buffer const & buf, Lexer & lex);
///
void setButtonLabel();
- ///
- virtual Color_color backgroundColor() const;
/// show the note dialog
bool showInsetDialog(BufferView * bv) const;
///
InsetNoteParams const & params() const { return params_; }
///
bool getStatus(Cursor &, FuncRequest const &, FuncStatus &) const;
+ // Update the counters of this inset and of its contents
+ virtual void updateLabels(Buffer const &, ParIterator const &);
protected:
InsetNote(InsetNote const &);
///
private:
friend class InsetNoteParams;
- virtual std::auto_ptr<Inset> doClone() const;
+ virtual Inset * clone() const;
/// used by the constructors
void init();