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
[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
[2991x2]
It's a flag in the 'text style that will prevent face/init from doing 
a trim/lines on the face/text.
probe get in get-style 'text 'init
Luca
22-Oct-2005
[2993]
Thank you :-)
Henrik
23-Oct-2005
[2994x2]
I can't seem to figure out the solution to do this elegantly: If 
I have a pane with 4 faces [a b c d] and I want 'b to move to position 
'd: [a c d b], is there no easier way than to copy, remove and append 
'b?
ah, found something that seems to work. never mind
Henrik
26-Oct-2005
[2996x2]
Would it be a good idea to open source the Viewtop editor just like 
it happened with the Viewtop? It has a lot of obvious bugs that could 
be fixed by people outside RT.
(or is it a part of the Viewtop?)
DideC
26-Oct-2005
[2998]
Its part of Viewtop (vt-editor.r).

But it as been update in View 1.3, so current ViewTop sources are 
outdated. Unless it has been re-release, but I'm not aware of that.
Volker
26-Oct-2005
[2999]
Its now in the beta-sdk, dont know how public that is. and you can 
get the source by "probe ctx-edit" from a fresh console. but without 
comments then.
Allen
26-Oct-2005
[3000]
In IOS there is a flag that allows, the users default editor to be 
used instead. It was proposed to implement that in the view desktop 
as well, I'm not sure if it got in there.
Volker
26-Oct-2005
[3001]
just redefine 'editor and use call. but i like the inbuild one for 
quick things.