Used to prevent the premature generation of previews and by the
citation inset to prevent computation of the natbib-style label.
+ * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
+ templates are all set up.
+
* factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
}
+void Buffer::fully_loaded(bool value)
+{
+ pimpl_->file_fully_loaded = value;
+}
+
+
bool Buffer::readFile(LyXLex & lex, string const & filename,
ParagraphList::iterator pit)
{
* and by the citation inset.
*/
bool fully_loaded() const;
+ /// Set by buffer_funcs' newFile.
+ void fully_loaded(bool);
private:
/** Inserts a file into a document
}
b->setReadonly(false);
+ b->fully_loaded(true);
b->updateDocLang(b->params().language);
return b;