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

World: r3wp

[View] discuss view related issues

Chris
22-Oct-2005
[2992]
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.
Henrik
26-Oct-2005
[3002]
So do I, which is why I think it would be nice to get bugs fixed 
and some simple features added like a search/replace and maybe a 
simple undo. I use it alot.
Luca
27-Oct-2005
[3003]
What is the ViewTop editor? Does exists a rebol written editor to 
code rebol programs? Is it in the /SDK package?
Pekr
27-Oct-2005
[3004]
no, simply put - go to Desktop, right-click any icon or file, choose 
"Edit"
Luca
27-Oct-2005
[3005]
:-) thank you!
Henrik
27-Oct-2005
[3006x2]
or in the console, type:
>> editor ""
write in some code, save it and press ctrl-E to run it. brilliant 
for testing code snippets
Pekr
27-Oct-2005
[3008x2]
why do I use notepad then? ;-)
did not know it is so easy without going to Desktop, thanks :-)
Henrik
27-Oct-2005
[3010]
also nice for viewing large objects...
>> editor system
Luca
27-Oct-2005
[3011]
What about an editor that help you navigate your program thru funcs, 
contexts, blocks..., with backup service and temming?
Henrik
27-Oct-2005
[3012]
I've been thinking about this. But how far would we want to go? Simple 
as in the current editor, intermediate or a fullblown IDE?
Luca
27-Oct-2005
[3013x2]
Hmm, probably a step by step is the best solution. :-)
Pick up an editor and start adding some functionalities. We can decide 
what to add before.
Volker
27-Oct-2005
[3015x3]
Some editors can be controlled by call, by calling them with file 
and position. they use the curently opened window then. so you need 
only the navigator.
But does somebody really need that?
(In which case i could revisit some prototypes.)
Luca
27-Oct-2005
[3018]
I meant write the editor in rebol. Otherwise I thougth to implement 
an Eclispe plugin (Eclipse is a very good platform in my  opinion) 
but why have I to spend time using Java?
Volker
27-Oct-2005
[3019x2]
(which -> that)
The editor in rebol can be controlled that way too, with some tricks.
Henrik
27-Oct-2005
[3021]
I'd much rather see a tad more advanced version of the current viewtop 
editor. No fancy features like syntax highlighting, but useful stuff 
like indenting, search/replace and undo. It shouldn't feel heavier 
than now
Luca
27-Oct-2005
[3022]
I think that every developer need a good developer environment, don't 
they?
Volker
27-Oct-2005
[3023]
question is what is good. scrolling and searching beats a java-style 
treeview with small things.
Henrik
27-Oct-2005
[3024]
luca: for me a good developer environment is one that can be started 
with an executable less than 1 MB, and start typing immediately and 
press one hotkey to run the program, and you can learn to use it 
in about 8 minutes.
Luca
27-Oct-2005
[3025]
I agree with you. This is why I'd like to have it written in rebol. 
:-)
Henrik
27-Oct-2005
[3026]
oh and no wizards
Luca
27-Oct-2005
[3027]
I agree too.
Henrik
27-Oct-2005
[3028]
wizards are a good indication that you are using something that can 
be too complex for the average developer and that gaining full control 
will take you months of learning.
Volker
27-Oct-2005
[3029]
DO you speak of rebol-headers with auto-date and version update? 
:)
Luca
27-Oct-2005
[3030]
:-D  ... so navigation features are not useful neither?
Volker
27-Oct-2005
[3031]
MY prefered navigation is grep, not some structured view. give me 
every "this-word" in files.
Luca
27-Oct-2005
[3032]
Even if the file is "big"?
Volker
27-Oct-2005
[3033]
I get a seperate list with the hits and can jump from there. emacs.
Henrik
27-Oct-2005
[3034]
volker, well... that's a border line. Its more that wizards that 
can set up a set of files for a compile and you have various profiles 
to work against, but you can't really understand what's going on 
behind the Wizard Curtain. I guess this is OK when you are working 
with C or ObjC programs when you want to build libraries and things 
that are OS specific, but it also tells me that this is hard, by 
default. REBOL should absolutely never go in that direction or encourage 
it.
Volker
27-Oct-2005
[3035]
but could be done in rebol with the control-editor-trick.
Henrik
27-Oct-2005
[3036x2]
PARSE could do wonders for a small function browser. I built one 
not long ago.
Also a realtime search bar could be nice. I don't think it would 
be hard to do.
Volker
27-Oct-2005
[3038x3]
I tried some things based on loaded code. One can search a word in 
all contexts. The other can find the source for loaded functions, 
with a little markup. could be anamonitor jumping to source. But 
never really did that.
That gives the ability to look where a function in some context comes 
really from.
But was never hard enough to figure that out with other ways, so 
never finished it.
Henrik
27-Oct-2005
[3041]
I've also built a multiple file search tool. It's not complete yet 
as it doesn't yet search recursively, or launch the editor on the 
appropriate file, but it's helped me out a few times. I'll see if 
I can upload it...