Andre Poenitz <[EMAIL PROTECTED]> writes: | On Wed, Sep 17, 2003 at 07:38:14PM +0200, Andre' Poenitz wrote: >> On Wed, Sep 17, 2003 at 07:32:52PM +0200, Lars Gullik Bjønnes wrote: >> > Andre Poenitz <[EMAIL PROTECTED]> writes: >> > >> > | What's the prefered way to go from a ParagraphList & to "its" LyXText *? >> > >> > To have a the BufferView >> >> I have that. > | I.e. I need the 'inverse' of > | LyXText::ownerParagraphs(). > | I have a bv, and if really necessary a ParIterator pointing to a place | in the ParagraphList.
bv->buffer().paragraphs? Or I do not understand what you want. Ahh... no I understand... why do you need that? Should you ever need it? Actually you can (could?) know it through the cursor. and you have to get it through the view somehow getteing it from Paragraph or Buffer would be utterly wrong. -- Lgb