]> git.lyx.org Git - lyx.git/blob - src/ErrorList.cpp
Avoid full metrics computation with Update:FitCursor
[lyx.git] / src / ErrorList.cpp
1 /**
2  * \file ErrorList.cpp
3  * This file is part of LyX, the document processor.
4  * Licence details can be found in the file COPYING.
5  *
6  * \author Alfredo Braunstein
7  *
8  * Full author contact details are available in file CREDITS.
9  */
10
11 #include <config.h>
12
13 #include "ErrorList.h"
14
15 using namespace std;
16
17 namespace lyx {
18
19
20 ErrorItem::ErrorItem(docstring const & error_, docstring const & description_,
21                      TextEntry start_, TextEntry end_, Buffer const * buffer_)
22         : error(error_), description(description_), start(start_), end(end_),
23           buffer(buffer_)
24 {}
25
26
27 ErrorItem::ErrorItem(docstring const & error_, docstring const & description_,
28                      Buffer const * buffer_)
29         : error(error_), description(description_), start(TexRow::text_none),
30           end(TexRow::text_none), buffer(buffer_)
31 {}
32
33
34 ErrorItem::ErrorItem()
35         : start(TexRow::text_none), end(TexRow::text_none), buffer(nullptr)
36 {}
37
38
39 } // namespace lyx