[REBOL] Re: Getting selection positions from area
From: greg::schofield::iinet::net::au at: 1-Oct-2007 17:03
Hi and thanks Gregg,
After a little fiddling I got the code you sent working, and am very happy with the results.
A get a fair amount of funnies, I have no error checking at all. While the thing might,
in my hands, never be good enough for public release, I can see myself using it fairly
In processing large amounts of text I want to create a number of different mechanisms,
based on the type of text being processed, rather than a bloated program trying to be
everything for all possiblities.
What I am trying to do is nothing complex, anyone processing text on a scale knows before
hand the type of text it is, my idea is simply you pick the one that best fits and end
up with well marked-up (TEI) XML that can be used to generate PDF or voiceXML.
Thanks again from a newbie. This is a very helpful and friendly community.
--- Message Received ---
From: Gregg Irwin <gregg-pointillistic.com>
To: greg.schofield-iinet.net.au <rebolist-rebol.com>
Date: Sun, 30 Sep 2007 10:04:14 -0600
Subject: [REBOL] Re: Getting selection positions from area
gsina> But how do I get selection positions from an GUI Area field?
system/view/highlight-start and system/view/highlight-end are what
you're after I think.
view layout [
print [copy/part system/view/highlight-start system/view/highlight-end]
VID documentation, on internals like this that you sometimes need to
know about, are one of REBOL's weakest areas.