*/
#include <config.h>
+#include <algorithm>
#include "InsetList.h"
#include "Buffer.h"
#include "BufferParams.h"
#include "BranchList.h"
-#include "support/debug.h"
#include "insets/InsetBranch.h"
+#include "support/debug.h"
+
using namespace std;
namespace lyx {
}
+void InsetList::setBuffer(Buffer & b)
+{
+ List::iterator it = list_.begin();
+ List::iterator end = list_.end();
+ for (; it != end; ++it)
+ it->inset->setBuffer(b);
+}
+
+
InsetList::iterator InsetList::insetIterator(pos_type pos)
{
InsetTable search_elem(pos, 0);