[REBOL] Re: Editor
From: jim:clatfelter at: 25-Jun-2002 18:20
Thanks to all for the suggestions. Here are the problems with using focus
my-area. This places the caret at the end of the file instead of where it
actually is in the text. It also works only for short pieces of text. Once
the text gets to about 7 lines, Rebol creates a line-list. Once it does
that, the button stops working at all. Try loading a text file and using the
Date button. It does nothing if focus my-area is in there.
It works okay as it is. The only problem is that it doesn't work the first
time after using the keyboard. The caret disappears. You have to then use
the mouse and click to place the cursor. Then the button works, all the
buttons work in the html editor. But they stop working again (just once)
after you press a key. It's annoying, and it really makes the editor not
very worth sharing.
To answer the question of whether I have 70 editors, no I don't. ed-70.r has
70 characters per line on the screen and the printer. ed-64.r has 64.
a-a-edit has 99 on the screen and 80 on the printer. It wraps the line at 80
characters. Those are the only three I have so far. I use them for different
purposes, ed-70 to send email, a-a-edit to edit html files, and ed-64 to
print pages of text with nice margins.
I'd still be glad if someone can figure this one out. everything else works
You can see the focus problem using the DATE button. It doesn't work after
using the keyboard.
This one needs a text file called send-to.lst to run. It's just a list of
addresses you want to send email to.
This one has all the html buttons. It would really be nice to solve the
problem on this one.