where tool (was Re: keymap in text style feel/engage)
[1/3] from: dockimbel::free::fr at: 27-Apr-2002 18:51
Hi Anton, Anton wrote: [...]
> > > > Two words were not defined after I did this: > > > > - view* (it's easy, system/view) > > > I don't think so, 'view* is defined in ctx-text. > > Yeah, but: > > >> ctx-text/view* == system/view > == true
That's right. I should have guessed it : view* <=> reference on 'view object in C style :P
> On the circular reference issue: > To prevent circular references, I maintain > a list of the paths that have already been checked. > We will see if we can find each new path in the list. > If found, then we don't do it again. > If not found, we add it to the list and go into it.
Great ! I was a little reluctant to use a block to store all the visited paths, because i was afraid it would eat too much memory...After using your version, i'm now convinced it's worth the extra 1Mb of memory it consumes. ;-) [...]
> A bit of testing from you guys out there and next > we should make a gui frontend for it. FX5 should maybe > incorporate it into RebSearch to extend the reach of > this cool rebol searching tool. >
I've added a GUI interface (auto-switch in GUI mode if possible) and cleaned-up things a little. Now i would like to put it in REBOL library, unless you or anyone else want to add/modify something ? where tool v0.3 : http://rebol.dhs.org/where.r Enjoy, -DocKimbel.
[2/3] from: brett:codeconscious at: 28-Apr-2002 14:17
> I've added a GUI interface (auto-switch in GUI mode if possible) > and cleaned-up things a little. Now i would like to put it in > REBOL library, unless you or anyone else want to add/modify > something ? > > where tool v0.3 : > http://rebol.dhs.org/where.r
Nice. :^) I'd suggest a mode or function that just returns a block result so that it can be easily integrated into various other tools. I you didn't want that then maybe a function (passed as a parameter) could be called (eg. Anamonitor.r or a variant of your own help.r.) when someone clicks on a list item. Regards, Brett.
[3/3] from: anton:lexicon at: 28-Apr-2002 19:11
I didn't manage to see your gui version (couldn't download) but I forgot to mention I made one already just before all the partying started this week. :) It's in my utils/ folder. http://anton.idatam.com.au/rebol/util/find-objects.r Probably it's not worthy of the script library because it depends on other scripts. But worth a look anyway. I'll be sure to check out yours later. Anton.