/* This file is part of
* ======================================================
- *
+ *
* LyX, The Document Processor
- *
+ *
* Copyright 1995 Matthias Ettrich
* Copyright 1995-2001 The LyX Team.
*
bool flag = bv->ChangeRefsIfUnique(getContents(),
new_contents);
setContents(new_contents);
+#if 0
bv->text->redoParagraph(bv);
if (flag) {
bv->redraw();
bv->fitCursor();
} else
bv->update(bv->text, BufferView::SELECT|BufferView::FITCUR|BufferView::CHANGE);
+#else
+ bv->updateInset(this, !flag);
+#endif
}
}
}
int InsetLabel::docbook(Buffer const *, ostream & os) const
{
- os << "<anchor id=\"" << getContents() << "\" ></anchor>";
+ os << "<anchor id=\"" << getContents() << "\">";
return 0;
}