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

World: r3wp

[View] discuss view related issues

Volker
18-Nov-2005
[3326]
Hmm. That you need offset-to-caret for such text. I guess we have 
only for normal one, not for agg?
Graham
18-Nov-2005
[3327x2]
where's the agg docs ?
http://antigrain.com/doc/
DideC
18-Nov-2005
[3329]
Build page update with infos on last release http://www.rebol.net/builds/
Graham
18-Nov-2005
[3330]
and this "This is being done in preparation for the dialected rich-text 
improvements"
DideC
19-Nov-2005
[3331]
yeah ;-)
Volker
19-Nov-2005
[3332]
So we dont get a plugin, isntead write our own browser? :))
Pekr
19-Nov-2005
[3333]
Why a browser? getting rich-text is not everything you know :-) Who 
would write parsers for all that web "standards" out there, plus 
support for various browser quirk modes? And what would you do about 
java-script? Are we going to reimplement javascript in rebol too? 
:-)
Volker
19-Nov-2005
[3334]
I totally forgot *you* are here :) Yes, i was joking :))
Ashley
19-Nov-2005
[3335]
A simple REBOL-based WYSIWYG word processor is possible though. I've 
often contemplated doing one that was CSS2 / XHTML based so you can 
seperate style from content (and get an HTML editor to boot). Should 
be possible,and fast, once REBOL has rich text support.
Robert
20-Nov-2005
[3336]
And it will make my MDP viewer much simpler and faster.
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.