On 8/1/2015 3:05 AM, Sannyasin Brahmanathaswami wrote:
But I want to re-select the text later,
not set the background color
Sorry, I looked at the wrong part of your original message. As
mentioned, changing my example to "select" is easy. I needed to select
text the way I suggested back in LC
On 7/31/2015 6:52 PM, Brahmanathaswami wrote:
>
> global gCurrentSelection
> on mouseUp
> selectgCurrentSelection
> end mouseUp
>
> does not... an i can't find a way to re-set the selection
>
In LiveCode 6.7.5, I just created a test stack with the following: A
field with some text in it and
Jacque demonstrated a point, you don’t have to use the whole of
gCurrentSelection as part of the script in one go, you can extract the parts
you need to reconstruct the selection, it’s pretty easy to adapt the examples
she gave;
select char (word 2 of gCurrentSelection) to (word 4 of gCurrentS
But I want to re-select the text later,
not set the background color
BR
> On Jul 31, 2015, at 8:05 PM, J. Landman Gay wrote:
>
>> On 7/31/2015 5:52 PM, Brahmanathaswami wrote:
>> If we make a text selection and store it as a selectedChunk string
>>
>> e.g
>>
>> gCurrentSelection
>>
>>
>> which
Set the backgroundcolor of gCurrentSelection to yellow
Works as is
Swasti Astu, Be Well
Brahmanathaswami
www.himalayanacademy.com
> On Jul 31, 2015, at 8:05 PM, J. Landman Gay wrote:
>
>> On 7/31/2015 5:52 PM, Brahmanathaswami wrote:
>> If we make a text selection and store it as a selectedChu
On 7/31/2015 5:52 PM, 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 backgroun
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
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 mouseU