mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-04 22:32:19 +00:00
40 lines
933 B
C++
40 lines
933 B
C++
/**
|
|
* \file ErrorList.cpp
|
|
* This file is part of LyX, the document processor.
|
|
* Licence details can be found in the file COPYING.
|
|
*
|
|
* \author Alfredo Braunstein
|
|
*
|
|
* Full author contact details are available in file CREDITS.
|
|
*/
|
|
|
|
#include <config.h>
|
|
|
|
#include "ErrorList.h"
|
|
|
|
using namespace std;
|
|
|
|
namespace lyx {
|
|
|
|
|
|
ErrorItem::ErrorItem(docstring const & error_, docstring const & description_,
|
|
TextEntry start_, TextEntry end_, Buffer const * buffer_)
|
|
: error(error_), description(description_), start(start_), end(end_),
|
|
buffer(buffer_)
|
|
{}
|
|
|
|
|
|
ErrorItem::ErrorItem(docstring const & error_, docstring const & description_,
|
|
Buffer const * buffer_)
|
|
: error(error_), description(description_), start(TexRow::text_none),
|
|
end(TexRow::text_none), buffer(buffer_)
|
|
{}
|
|
|
|
|
|
ErrorItem::ErrorItem()
|
|
: start(TexRow::text_none), end(TexRow::text_none), buffer(nullptr)
|
|
{}
|
|
|
|
|
|
} // namespace lyx
|