// Uwe C. Schroeder
// changed to be public and have one parameter
-// Returns false if "\end_document" is not read (Asger)
+// Returns true if "\end_document" is not read (Asger)
bool Buffer::readDocument(Lexer & lex)
{
ErrorList & errorList = d->errorLists["Parse"];
/** Reads a file without header.
\param par if != 0 insert the file.
- \return \c false if file is not completely read.
+ \return \c true if file is not completely read.
*/
bool readDocument(Lexer &);
///
void write(Buffer const & buf, std::ostream & os) const;
- /// returns whether we've seen our usual 'end' marker
+ /// returns true if \end_document has not been read
/// insetPtr is the containing Inset
bool read(Buffer const & buf, Lexer & lex, ErrorList & errorList,
InsetText * insetPtr);