[REBOL] Re: CREdit free editor
From: agem:crosswinds at: 29-May-2001 20:07
I once thought - could it be possible to use a normal
text-face, and write the colored parts as faces about it?
There are some functions to locate pixel-position of characters,
and text-size, so we could look where and how big the colored
parts are?
They would be transparent for events, so all mouse.. would go thru
the text and handled with the usual area-handler.
Which is patched with a 'color-text-refresh after a change.
Then, we could remove all faces after a key-press, edit
in single-color, and refresh colors after some typing-silence.
Or use a switch-key between edit/browse mode.
Edit is without colors,
browse-mode colored, also hypertext could
be activated. Click on a word and a »source word« pops up..
Depending on types. Url starts browser, files edit text,
strings pops the translation resources of project ;-)
then, iam not sure about speed-penalties.
Scrolling in rmud is very fast.
hm. anyone compared text in 'draw with text with faces?
But in this cases all edit-code has to be rewritten..
Just thoughts.
-volker
>>>>>>>>>>>>>>>>>> Ursprüngliche Nachricht <<<<<<<<<<<<<<<<<<
Am 29.05.01, 13:13:22, schrieb "Richard Smolak" <[cyphre--volny--cz]> zum
Thema [REBOL] Re: CREdit free editor: