Richard Heck <rgh...@comcast.net>: > What the usual calls to updateBuffer() do is always > make the macro context a ParIterator that points to > the first paragraph in the current inset. (See e.g. > the calls at InsetText:682,695.)
ok. makes me wonder though why it is necessary to set the macro context explicitly. > So I'm attaching a few patches: > > 1. updateBuffer.diff solves the general problem mentioned. > 2. x2a.patch is what seems to be a working version of x2.patch. > 3. x3a.diff, which is a version of x3.patch that fixes the > problem in the > old code. > > I'm not sure what I prefer here, but (1) seems necessary no > matter what. I > guess (3) is more cautious, and if there aren't other issues > for which (2) > is needed, maybe that's what makes sense. the main difference between (2) and (3) is the label updating in updateBuffer? i am working on my document with (1) + (3) here, and have encountered no problems so far thanks for helping out with the tricky stuff ed.