clickWord?

Richmond richmondmathewson at gmail.com
Sun Jan 4 13:12:44 EST 2015


On 04/01/15 20:03, Mike Bonner wrote:
> if listbehavior is toggled off, the clicktext returns the word clicked for
> me, sans punctuation.  Of course, this means there is no hilite, so you'd
> have to "workaround" that problem and use the clickchunk to hilite it if
> needed.

Indeed it does :)

Thank you so much for pointing that out.

Richmond.
> On Sun, Jan 4, 2015 at 10:45 AM, Richmond <richmondmathewson at gmail.com>
> wrote:
>
>> Humpf . . .
>>
>> There I with a locked scrolling list field and I want to click on the word
>> "glaikit" in line
>> 3, and if I use 'clickText' I get the whole sentence "He's a muckle
>> glaikit gowk",
>> and if I use 'clickChunk' I get this 'char 24 to 49 of field 1' which is
>> no good either.
>>
>> Now, if Livecode had 'clickWord' I would be able to get "glaikit" 'just
>> like that'.
>> ------------------------------------------------------------
>> ----------------------------------------------
>> I am well aware of this:
>>
>> http://www.sonsothunder.com/devres/livecode/tips/mous003.htm
>>
>> which does provide some sort of a work-around, but does have this rider:
>>
>> " if there is any trailing punctuation, this is returned as well"
>>
>> mind you, there are some of us who are getting a peerie bit tired of
>> endless work-arounds.
>>
>> Richmond.
>>
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list