++par;
if (par != end) {
os << "\n";
- lines ++;
+ ++lines;
}
}
std::auto_ptr<InsetBase> clone() const;
///
InsetBase::Code lyxCode() const { return MATHMACRO_CODE; }
+ ///
+ std::string const & getInsetName() const { return name_; }
+ ///
+ EDITABLE editable() const { return HIGHLY_EDITABLE; }
private:
///
MathAtom & tmpl() const;
* Full author contact details are available in file CREDITS.
*/
-
#include <config.h>
-
#include "pariterator.h"
#include "ParagraphList_fwd.h"
using lyx::par_type;
+
///
/// ParIterator
///
ParIterator & ParIterator::operator--()
{
+#warning look here
// DocIterator::backwardPar();
return *this;
}
return !(iter1 == iter2);
}
-DocIterator
-makeDocIterator(ParIterator const & par, lyx::pos_type pos)
+
+DocIterator makeDocIterator(ParIterator const & par, lyx::pos_type pos)
{
DocIterator dit(par);
dit.pos() = pos;
return dit;
}
+
+
///
/// ParConstIterator
///