Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] Re: Make_user_manual.r ?

From: sunandadh:aol at: 23-Jan-2002 16:53

Hi Mario,
> Uhm can't help as Brett did but reading the above an Idea came > to me: redefining VID in user.r, calling an external dialect, > can be the solution:
Thanks for your thoughts. It got me thinking I could redefine Layout and then insert some logging into action facets. That would work for any application which neither used make-face nor replaced an action facet after layout. I know that's not all applications, but it would be a start. Unfortunately, I fell at the first hurdle in cloning Layout. Layout, it would seem, contains the words vid-face and vid-styles. These belong to a context that cloning the Layout function breaks. There is probably an easy way round this, so if anyone could tell me I'd be grateful. To demonstrate the problem: Lay: :layout View/new Lay [Button "this works"] Lay: do load mold :layout View/new Lay [Button "this does not work"] equal? :lay :layout equal? mold :lay mold :layout (the sources are identical but the contexts are not). Thanks, Sunanda.