]> git.lyx.org Git - features.git/blobdiff - src/mathed/math_xiter.C
mathed17.diff + some iterator methods
[features.git] / src / mathed / math_xiter.C
index 046257659f3b024c0a11a0bf50e1f957b05118f2..40ca0eba33401bb31980ee44aa6f4f560c0a225b 100644 (file)
@@ -137,11 +137,15 @@ void MathedXIter::Merge(MathedArray * a0)
        // All insets must be clonned
        MathedIter it(a0);
        MathedArray * a = it.Copy();
-       
+
+#if 0
+       array->insert(array->begin() + pos,
+                     a->begin(), a->end());
+#else
        // make room for the data 
        split(a->last());
        array->mergeF(a, pos, a->last());
-       
+#endif
        int pos1 = pos;
        int pos2 = pos + a->last();