-void InsetList::deleteInsetsLyXText(BufferView * bv)
-{
- List::iterator it = list.begin();
- List::iterator end = list.end();
- for (; it != end; ++it) {
- if (it->inset) {
- if (it->inset->isTextInset()) {
- static_cast<UpdatableInset*>
- (it->inset)->deleteLyXText(bv, true);
- }
- }
- }
-}
-
-
-void InsetList::resizeInsetsLyXText(BufferView * bv)
-{
- List::iterator it = list.begin();
- List::iterator end = list.end();
- for (; it != end; ++it) {
- if (it->inset) {
- if (it->inset->isTextInset()) {
- static_cast<UpdatableInset*>
- (it->inset)->resizeLyXText(bv, true);
- }
- }
- }
-}
-
-
-
-bool operator==(InsetList::iterator const & i1,
- InsetList::iterator const & i2)
-{
- return i1.it == i2.it;
-
-}
-
-
-bool operator!=(InsetList::iterator const & i1,
- InsetList::iterator const & i2)
-{
- return !(i1 == i2);
-}