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

World: r3wp

[View] discuss view related issues

Graham
20-Nov-2005
[3337]
ICarii, are you planning on adding controls to your calendar ?
ICarii
20-Nov-2005
[3338x2]
yup
first ill implement clickable days and month paging
Graham
20-Nov-2005
[3340]
sick days ?
ICarii
20-Nov-2005
[3341]
you can add those via the day-events :P
Graham
20-Nov-2005
[3342]
Allen has a nice calendar though he hasn't updated it for a while.
ICarii
20-Nov-2005
[3343]
cool :)  I just wanted to make something in agg :)
Graham
20-Nov-2005
[3344]
I think he has year views etc.
ICarii
20-Nov-2005
[3345]
nice
Graham
20-Nov-2005
[3346]
What's happened to flounder ?
ICarii
20-Nov-2005
[3347x2]
i ended up too busy to devote much time to it :(
doing 70+ hour weeks since then
Graham
20-Nov-2005
[3349]
Do you know if AGG supports not rectangular view ports ?
ICarii
20-Nov-2005
[3350]
our version doesnt
Graham
20-Nov-2005
[3351]
Nor apparently does the original.
Henrik
21-Nov-2005
[3352]
are there plans to prettify DROP-DOWN and SCROLLER?
Henrik
24-Nov-2005
[3353]
I thought of this little idea regarding the editor: Currently, it's 
depending on running a script from file, if you want to test something. 
But I was wondering if it were possible to edit data directly with 
it and just store it in memory?


Sometimes I like to debug a function without having to save it to 
a file and then run a program stored in a different file to run the 
test, e.g. Ctrl-E is useless.


It would be nice to directly in the editor, create a big function, 
say from a paste and do a few edits, press Ctrl-<something> and have 
that evaluated directly. Then you could quit the editor and use the 
function directly in the console without having to save any files.


Also if you want to re-edit the function, type in something similar 
to:


editor 'my-big-function and the editor would pop up with the function 
source and the word its bound to.
Volker
24-Nov-2005
[3354x2]
why not using a scratch-file?
!> scratch: does[editor %scratch.r]
Rebolek
24-Nov-2005
[3356]
Cal Dixon's REM (editor for Core) can be started with /function refirement 
which does exactly what you said.
Volker
24-Nov-2005
[3357x2]
scratch: func[:value][save/header %scratch.r :value [] editor %scratch.r]
missed "and use the function directly in the console"
Henrik
24-Nov-2005
[3359]
volker, it forgets the function as soon as I return to the console
Volker
24-Nov-2005
[3360]
one moment
Henrik
24-Nov-2005
[3361]
ah :-)
Volker
24-Nov-2005
[3362x2]
scratch: func['value][
 save/header %console-scratch.r either word? :value[
  reduce[to-set-word :value get value]
 ][
  :value
 ][Title: "Console-scratch"]
 launch: func[file /secure-cmd][do file]
 editor %console-scratch.r    
]
halt
^e ^q and you are back to console
Henrik
24-Nov-2005
[3364]
I see... works ok :-) I'll see if it turns out useful, thanks
Volker
24-Nov-2005
[3365x2]
;since nobody is perfect:
scratch: func['value][
 save/header %console-scratch.r either word? :value[
  reduce[to-set-word :value get value]
 ][
  :value
 ][Title: "Console-scratch"]
 launch: func[file /secure-cmd /local err][
  if error? set/any 'err try[do file][unview/all err]
 ]
 editor %console-scratch.r    
]
scratchme: func[][]
scratch scratchme
(error->closes window)
Henrik
24-Nov-2005
[3367]
hmm... and to get this function available at startup? I remember 
a user.r file somewhere...
Volker
24-Nov-2005
[3368]
desktop http://polly.rebol.it/test/test/view-root/floor.r
the right-click on view-root/user.r
Henrik
24-Nov-2005
[3369]
thanks
Volker
24-Nov-2005
[3370]
scratch without args reopens editor. To get back after error. http://polly.rebol.it/test/test/scratch-editor.r
Henrik
24-Nov-2005
[3371]
This is pretty cool! I added do-events at the end of the scratch 
script.


Now I'm running a GUI program, and I can exit to the console though 
a "halt" button in the GUI. I 'SCRATCH the function I need and CTRL-E 
the changes and I can continue working with the GUI program with 
the new changes without quitting the editor. :-)
Graham
24-Nov-2005
[3372]
Anyone remind me why there is no binary support within the clipboard?
DideC
24-Nov-2005
[3373]
There is not!
(Is this a sufficient reason for you ;-)
Henrik
24-Nov-2005
[3374]
could it be a compatibility issue? I'm not sure if binaries are supported 
in the XFree86 clipboard
Volker
24-Nov-2005
[3375]
WHy not saving as strings? with binaries you need type-information 
too i guess.
Graham
24-Nov-2005
[3376]
what I want to is right click on an image, copy to clipboard, and 
then paste it into a rebol application.
Volker
24-Nov-2005
[3377x2]
Yes, that would be nice.
Is there a way with an external app? save clipboard to file?
Henrik
24-Nov-2005
[3379]
some apps support it... Directory Opus can paste an image directly 
to a file
Volker
24-Nov-2005
[3380]
depending on app you can also paste the filename/url instead? as 
workaround? But image-clipboard and drag/drop ae so comfortable.
Graham
24-Nov-2005
[3381x3]
paste .. I guess I mean that the rebol application would then read 
it from the clipboard
I am currently pasting urls in .. but I was hoping for a better solution.
So, is the lack of binary support a cross platform implementation 
issue rather than a technical one in windows ?
DideC
25-Nov-2005
[3384]
Cross platform I guess.
Gregg
28-Nov-2005
[3385]
My guess as well. I have some win-clip stuff for images. Nothing 
fancy, but might save you a little effort. Let me know if you're 
interested.
Graham
28-Nov-2005
[3386]
sure ... I thought you had, but I think it was on another world.