>>>>> "Andre" == Andre Poenitz <[EMAIL PROTECTED]> writes:
Andre> Sure one needs to hand down stuff _somehow_. My point is that Andre> storing "permanent" pointers to "authorities" and keeping them Andre> up-to-date is painful compared to passing around the required Andre> information when it is needed. Especially when the Andre> "authorities" (aka Paragraph/Buffer/LyXView) have a tendency to Andre> mutate over time... Did you look at the code in paragraph_pimpl.C to update Inset::parOwner? It is both safe and simple, IMO. The trick is to avoid storing references to objects with which you do not have direct relations. This way, you can update the backref from an object to its parent at the time where you insert/delete it in the parent. JMarc