----boundary-LibPST-iamunique-714519849_-_-
Content-type: text/plain
> Thank you very much. The behavior is nice but not quite what I wanted
> since one gets a copy of the document and not a view into the document.
Doug: you are talking System 3 here. They built their framework around
that idea.
> Let D be the containing document and E' be the embedded copy of document
> E. If one now opens and modifies E, the copy E' within D does not change.
>
> Is it possible to to have (a view of) E embedded in D such that when E
> is edited (by itself), the view within D changes?
No. Technically, domains will not allow you. Every document defines its
own Domain. You cannot embedd objects of one domain into another domain.
You will get a trap if you try to. The only workaround is a deep copy.
You make a deep copy. The domain of the deep copy is not inited. Now
you embed the copy into an existing domain (i.e., a document). The domain
of the copy is joined with the domain of the embedding document. From now
on, the embedded view belongs to the domain of the container.
It is all described in the documentation of Stores. I always wondered
why they implemented this domain thing. Why not System-3? I asked a few
times and never quite comprehended the answer. But the gist of what they
said was: it is more foolproof. Not sure why, but this is what they said.
So, we have to accept. This is the way it works under BB. No spiffy
things. Just the functionality. Many times I had the idea how nice it
would be to have the same document open in many places. However, I
was always forced to implement the deep copy instead. And you know what?
My data acquistion programs work, I am writing research notes with
embedded views, and nobody ever complained. It is not bad. It works.
Hope this helps,
W
> -Doug
>
>
> Gérard Meunier wrote:
> >>Open two documents.
> >>
> >>Focus one. Click CTRL-SPACE.
> >>
> >>Click CTRL-C.
> >>
> >>Put caret in another document. Click CTRL-V.
> >>
> >>The embeddded document is scrollable. I am not sure how to make it show
> >>scroll bars.
> >>
> >>Perhaps someone can tell?
> >
> >
> > Alt-Click in the embedded view. Tools->Add ScrollBars.
> >
> > Cheers.
> >
> > Gérard
> >
> > --- BlackBox
> > --- send subject HELP or UNSUBSCRIBE to blackbox{([at]})nowhere.xy> >
> >
>
> --- BlackBox
> --- send subject HELP or UNSUBSCRIBE to blackbox{([at]})nowhere.xy>
>
--- BlackBox
--- send subject HELP or UNSUBSCRIBE to blackbox{([at]})nowhere.xy
----boundary-LibPST-iamunique-714519849_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rt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