Richard Heck <rgh...@comcast.net> wrote:
> Can you post this version of the patch
> and I'll try to have a look?

attached

> I'm wondering where these comparisons are
> being made and whether we need to do
> something to the cursor. But I'm really
> just guessing here.

very frustating this poking in the dark...

> I guess the other idea would be to recurse
> through all the insets. Something like (pseudocode):
>
>    InsetText::setMacroContextRecursive()
>    {
>        text_->setMacrocontextPosition(...); // what goes here?
>        foreach inset in text_ {
>            if (inset.asInsetText())
>                inset.asInsetText()->setMacroContextRecursive();
>        }
>    }
>
> and then call this from InsetTabular.
>
> Frankly, I'm guessing at this point, and
> I never seem to know where to get
> the DocIterator I need. Hence the "..." above.

from the code in buffer.h it seems updateBuffer also sets the initial
pariter for ...

> I'm running in and out of the house at the
> moment but can play with this some later.

thanks!

ed.

Attachment: x2.patch
Description: Binary data

Reply via email to