Hi,
Perhaps there are more elegant ways, but a quick solution would be
do "select" && gCurrentSelection
--
Best regards,
Mark Schonewille
Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
KvK: 50277553
Installer Maker for LiveCode:
http://qery.us/468
Buy my new book "Programming LiveCode for the Real Beginner"
http://qery.us/3fi
LiveCode on Facebook:
https://www.facebook.com/groups/runrev/
On 8/1/2015 00:52, Brahmanathaswami wrote:
If we make a text selection and store it as a selectedChunk string
e.g
gCurrentSelection
which them would have say... a value of
char 669 to 1094 of field 6
How to I re-select that text?
global gCurrentSelection
on mouseUp
set the backgroundcolor of gCurrentSelection to yellow
end mouseUp
works'
but
global gCurrentSelection
on mouseUp
selectgCurrentSelection
end mouseUp
does not... an i can't find a way to re-set the selection ....
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode