+2003-11-04 Alfredo Braunstein <abraunst@libero.it>
+
+ * PosIterator.[Ch]: compile fix
+
2003-11-04 Alfredo Braunstein <abraunst@libero.it>
* text.C (cursorPar): deactivate the cursor cache
ParagraphList * pl = inset->getParagraphs(p.index);
if (pl) {
p.index++;
- stack_.push(PosIteratorItem(pl));
+ stack_.push(PosIteratorItem(pl, pl->begin(), 0));
return *this;
}
}
}
-PosIterator::PosIterator(ParagraphList * pl)
-{
- stack_.push(PosIteratorItem(pl, pl->begin(), 0));
-}
-
-
PosIterator::PosIterator(BufferView & bv)
{
LyXText * text = bv.getLyXText();
struct PosIteratorItem
{
- PosIteratorItem(ParagraphList * pl): pl(pl), pit(pl->begin()),
- pos(0), index(0) {};
PosIteratorItem(ParagraphList * pl,
ParagraphList::iterator pit,
lyx::pos_type pos,
public:
PosIterator(BufferView & bv);
PosIterator(ParIterator & par, lyx::pos_type pos);
- PosIterator(ParagraphList * pl);
PosIterator(ParagraphList * pl, ParagraphList::iterator pit,
lyx::pos_type pos);
PosIterator(ParIterator const & parit, lyx::pos_type p);