]> git.lyx.org Git - lyx.git/blob - src/insetiterator.C
The speed patch: redraw only rows that have changed
[lyx.git] / src / insetiterator.C
1 /**
2  * \file insetiterator.C
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  * \author André Pönitz
8  *
9  * Full author contact details are available in file CREDITS.
10  */
11
12 #include <config.h>
13
14 #include "insetiterator.h"
15
16 #include <boost/assert.hpp>
17
18
19 InsetIterator::InsetIterator(InsetBase & inset)
20         : DocIterator(inset)
21 {
22 }
23
24
25 InsetIterator inset_iterator_begin(InsetBase & inset)
26 {
27         InsetIterator it = InsetIterator(inset);
28         it.forwardInset();
29         return it;
30 }
31
32
33 InsetIterator inset_iterator_end(InsetBase & inset)
34 {
35         return InsetIterator(inset);
36 }