- Inset::Code LyxCode() const { return Inset::URL_CODE; }
- ///
- void Validate(LaTeXFeatures &) const;
- ///
- void Edit(BufferView *, int, int, unsigned int);
- ///
- EDITABLE Editable() const {
- return IS_EDITABLE;
+ virtual Inset * clone(Buffer const &, bool same_id = false) const {
+ return new InsetUrl(params(), same_id);