r3wp [groups: 83 posts: 189283]
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

World: r3wp

[View] discuss view related issues

Volker
19-Oct-2005
[2942x2]
I guess it would be a good base for a spreadsheet?
where faces are to expensive when it gets big.
Anton
19-Oct-2005
[2944x2]
Good question. The idea of shell-list is to make things simpler. 
It should be *easy* to make lists of things.
Why do I publish it now, when it's still in such an early stage ?
I guess I am hoping for a bit of attention. I will need some changes 
to the View system or it will not be able to work perfectly. Right 
now seems not a good time with rebcode just released, but this seems 
so fundamental to user interfaces to me I think it's more important. 
Everything always seems to lead back to the list.
Volker
19-Oct-2005
[2946x2]
Maybe right time. rebcode goes speed, iterated lists goes memory.
Maybe it could also help with this half-implemented set-face/get-face 
of panels? saving and reloading the displayed contents?
Anton
19-Oct-2005
[2948x2]
I'm not sure about that.
Although, maybe it could. The facets I have discovered (and will 
continue to discover) which are used in shell-list ("default-iterates" 
block), could be used for set-face/get-face of panels.
Volker
19-Oct-2005
[2950]
Maybe we could have some face-dialect?
 get-set: [/auto text data /explicit color [set-code][get-code]
Anton
19-Oct-2005
[2951]
for use where ?
Volker
19-Oct-2005
[2952x2]
to declare the related facets in style.
if some facet is calculated, it could declare that in the /explicet-part. 
but maybe to complex.
Anton
19-Oct-2005
[2954]
You mean when using set-face/get-face ?
Volker
19-Oct-2005
[2955]
yes. and i guess your list-filling does something similar, to save/restore 
facets?
Anton
19-Oct-2005
[2956x2]
I thought about this pretty hard for shell-list.
save/restore-iterates ("iterates" is my word for "iterated facets") 
remain simple at this stage - they use only GET and SET at present.
Volker
19-Oct-2005
[2958]
You are right, that is faster.
Anton
19-Oct-2005
[2959]
shell-list allows functions to be placed in the map dialect block, 
which is kind of like your /explicit refinement above. The automatic 
iterates are found in the default-iterates block.
Pekr
20-Oct-2005
[2960x2]
Volker: funny about get-set you know. Some time ago I objected, that 
'get-face, 'set-face should be made more general and accept additional 
parameter, so that you would simply use parameter name to set it, 
so e.g. set-face 'color value .... etc.
and some ppl objected that going such way would complicate the thing 
and that we would ended like VB, Delphi or other tools with tonnes 
of parameters to set. I still think that current version of set-face, 
get-face is not thought out properly!
Volker
20-Oct-2005
[2962]
I think thare are two slightly different goals. One is to deal with 
the main data in a face. That should be a single value. The other 
is to make a snapshot of a layout, save it, qui script, and reload 
it later. I like that behavior. And i am not sure a single value 
is sufficient for that. But it would be an internal thing about saving, 
as api i prefer something with more defaults, ala VID.
DideC
20-Oct-2005
[2963]
I would prefer SET-FACE, GET-FACE to be named SET-VALUE, GET-VALUE. 
Cause in fact, it's what id does :
JaimeVargas
20-Oct-2005
[2964]
But set-value and get-value are too generic names to be restricted 
to face accessors.
Henrik
21-Oct-2005
[2965]
correct me if I'm wrong, but I seem to remember that VIEW can set 
a minimum size a window can have using /options 'RESIZE ?
Volker
21-Oct-2005
[2966]
'minsize ?
Henrik
21-Oct-2005
[2967]
it seems to respond to 'min-size but won't accept a pair! value...
Volker
21-Oct-2005
[2968]
view/options layout [ size 200x200 title "test" ] [resize min-size 
100x100]
Henrik
21-Oct-2005
[2969]
interesting... thanks. Is this in the docs anywhere?
Volker
21-Oct-2005
[2970]
dont know. remember it from some chat. :)
Henrik
21-Oct-2005
[2971x3]
why of course :-) I can't even see it in '? view'
one would think it's a pretty important feature
put in RAMBO?
Volker
21-Oct-2005
[2974]
Thought that too.
Henrik
21-Oct-2005
[2975x2]
I'm putting it in... can't see it there
done
DideC
21-Oct-2005
[2977]
I wonder why some guy take time to make doc : http://www.rebol.com/docs/view-system.html#section-4.5
;-)
Pekr
21-Oct-2005
[2978]
I somehow don't understnd .....
DideC
21-Oct-2005
[2979]
It's an answer to Henrik "interesting... thanks. Is this in the docs 
anywhere?"
Pekr
21-Oct-2005
[2980]
:-)
Anton
21-Oct-2005
[2981]
This goes for me too, but it's probably better to ask in RAMBO group 
before adding to the bug database.
Henrik
22-Oct-2005
[2982]
didec, thanks. I posted a RAMBO entry about it not being mentioned 
in the console help.
Luca
22-Oct-2005
[2983]
What makes the 'area vid-style to interpret the "^/" chars correctly? 
What has the 'area more than 'text to let it show texts on multiple 
lines?
Anton
22-Oct-2005
[2984x4]
svv/vid-styles/area/flags ;== [tabbed on-unfocus input]

svv/vid-styles/field/flags ;== [field return tabbed on-unfocus input]
view layout [field 200x48 with [deflag-face self return]]
do http://www.lexicon.net/antonr/rebol/demo/text-swirl-fade.r
Everyone's experience will be different.
Chris
22-Oct-2005
[2988]
Use the keyword 'as-is
Luca
22-Oct-2005
[2989x2]
Anton - I navigated each single 'area word but I couldn't find the 
reason. I didn't think that the difference was in 'field instead. 
Thank you!
Chris - 'as-is works too, but what is it? I coundn't find it nowhere.
Chris
22-Oct-2005
[2991]
It's a flag in the 'text style that will prevent face/init from doing 
a trim/lines on the face/text.