Alfredo Braunstein wrote: > No, a reference to the last par in the list if there is one. > (InsetText::paragraphs() is a std::list<Paragraph>). If you have a > Paragraph par, you can check for &par == &InsetText::paragraphs().back(). > Better, if you have an iterator pit pointing to your par in the list and > your inset is called it, > > boost::next(pit) == it.paragraphs().end() > > should do the trick.
Thanks for the explanation, Alfredo. I think I begin to understand. Juergen.