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

[ALLY] How do I view layout code

 [1/4] from: larry::ecotope::com at: 11-Sep-2000 22:31


Hi all I was running some tests with View 0.10.33.3.1 and wanted to see the code produced by 'layout. I entered this line of code:
>>layo: layout [box 240x240 red]
then
>>view layo ;works fine
but
>> print mold layo
runs on for quite some time. So I wrote the output to a file: write %layo.txt mold layo The file is 428kB, 11,249 lines of code! The reason is that it contains 2 complete copies of all the VID styles, one under styles: and one under styles: in the object in the pane block. I also noticed that there are several recursive blocks in the output indicated by [...]. Some of them are associated with the init: field. IIRC we used to be able to probe or mold the face object produced by layout. Is there any way to do that now, without sorting through half a megabyte or more? Have I missed something simple? Is this a bug in 'mold? -Larry

 [2/4] from: petr:krenzelok:trz:cz at: 12-Sep-2000 7:39


[larry--ecotope--com] wrote:
> Hi all > I was running some tests with View 0.10.33.3.1 and wanted to see the code
<<quoted lines omitted: 16>>
> Have I missed something simple? > Is this a bug in 'mold?
Mabe a new feature? :-) -pekr-

 [3/4] from: petr:krenzelok:trz:cz at: 12-Sep-2000 11:21


[Petr--Krenzelok--trz--cz] wrote:
> [larry--ecotope--com] wrote: > > Hi all
<<quoted lines omitted: 28>>
> > Is this a bug in 'mold? > Mabe a new feature? :-)
Well, actually, it has to be bug: compose-date: func [inp][ return join first tmp: parse to-string inp "-" ["." select mesice second tmp "." third tmp] ; to convert to dd.mm.yyyy format ... ] zadej-datum: layout [ across text "Od:" date1: button "" [date1/text: compose-date request-date] below across text "Do:" date2: button "" [date2/text: compose-date request-date print mold date2] ] view zadej-datum print mold date2 prints "endless" output ... uh .... Also - I can't get date2/text to display on button, although I reshow it .... wrong aproach, or a bug? Thanks, -pekr-

 [4/4] from: agem:crosswinds at: 12-Sep-2000 14:42


[Petr--Krenzelok--trz--cz] wrote on 12-Sep-2000/11:21:09+2:00
> > [Petr--Krenzelok--trz--cz] wrote: > > > [larry--ecotope--com] wrote: > >
snip
> > > > > > IIRC we used to be able to probe or mold the face object produced by layout. > > > Is there any way to do that now, without sorting through half a megabyte or > > > more? > > >
i remember i could mold faces only before viewing. after that recursion because /parent set ..

Notes
  • Quoted lines have been omitted from some messages.
    View the message alone to see the lines that have been omitted