2003-05-20 16:51:31 +00:00
|
|
|
/**
|
2007-04-26 04:41:58 +00:00
|
|
|
* \file ErrorList.cpp
|
2003-05-20 16:51:31 +00:00
|
|
|
* This file is part of LyX, the document processor.
|
|
|
|
* Licence details can be found in the file COPYING.
|
|
|
|
*
|
|
|
|
* \author Alfredo Braunstein
|
|
|
|
*
|
2003-08-23 00:17:00 +00:00
|
|
|
* Full author contact details are available in file CREDITS.
|
2003-05-20 16:51:31 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#include <config.h>
|
|
|
|
|
2007-04-26 04:41:58 +00:00
|
|
|
#include "ErrorList.h"
|
2003-05-20 16:51:31 +00:00
|
|
|
|
2007-12-12 10:16:00 +00:00
|
|
|
using namespace std;
|
2003-05-20 16:51:31 +00:00
|
|
|
|
2007-07-17 17:46:54 +00:00
|
|
|
namespace lyx {
|
2006-09-11 08:54:10 +00:00
|
|
|
|
2007-12-12 18:57:56 +00:00
|
|
|
|
2006-09-11 08:54:10 +00:00
|
|
|
ErrorItem::ErrorItem(docstring const & error_, docstring const & description_,
|
2016-10-09 19:34:12 +00:00
|
|
|
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_)
|
2003-05-20 16:51:31 +00:00
|
|
|
{}
|
|
|
|
|
|
|
|
|
|
|
|
ErrorItem::ErrorItem()
|
2017-03-01 15:34:01 +00:00
|
|
|
: start(TexRow::text_none), end(TexRow::text_none), buffer(0)
|
2003-05-20 16:51:31 +00:00
|
|
|
{}
|
2006-10-21 00:16:43 +00:00
|
|
|
|
|
|
|
|
|
|
|
} // namespace lyx
|