[plt-scheme] DrScheme internals question: how to query details about files opened?

From: Grant Rettke (grettke at acm.org)
Date: Tue May 15 14:51:55 EDT 2007

On 5/15/07, Robby Findler <robby at cs.uchicago.edu> wrote:
> On 5/15/07, Grant Rettke <grettke at acm.org> wrote:
> > On 5/15/07, Robby Findler <robby at cs.uchicago.edu> wrote:
> > > Do you have the editor already? If not, you probably need to go via
> > > the group (search "group:"), iterate over the frames, get the tabs,
> > > iterate over them.
> >
> > This would be what I imagine as a typical usage scenario. You start
> > the IDE and open up some files. At this point, should one expect to
> > "have the editor"?
>
> When I wrote "have the editor", I meant that in a technical sense:
> there is some value in the program (perhaps bound to a variable) that
> is an object whose class matches the editor<%> interface.

Right now it looks like the tool would override the on-activate?
function. I think that function would have access to the internals of
the frame%, and that frame would probably know about all of its
editors.


Posted on the users mailing list.