2 /* This file is part of
3 * ======================================================
5 * LyX, The Document Processor
7 * Copyright 1995 Matthias Ettrich
8 * Copyright 1995-2000 The LyX Team.
10 * ====================================================== */
19 #include "lyxparagraph.h"
23 /** All these variables should be explained. Matthias?
28 void par(LyXParagraph * p);
32 LyXParagraph * par() const;
34 void pos(LyXParagraph::size_type p);
36 LyXParagraph::size_type pos() const;
38 void boundary(bool b);
40 bool boundary() const;
60 /// The paragraph the cursor is in.
62 /// The position inside the paragraph
63 LyXParagraph::size_type pos_;
78 bool operator==(LyXCursor const & a, LyXCursor const & b)
80 return (a.par() == b.par())
81 && (a.pos() == b.pos())
82 && a.boundary() == b.boundary();
87 bool operator!=(LyXCursor const & a, LyXCursor const & b)