the clickCharChunk: space is not a char?

Ken Ray kray at sonsothunder.com
Wed Apr 9 00:29:01 EDT 2003


I don't understand; I create a simple field, put "Now is the time" into
the field ,lock it, and set the script of the field to:

on mouseUp
  put the clickCharChunk
end mouseUp

When I click between "Now" and "is" in the white space, I get:

  char 4 to 4 of field 1

What do you get?

Ken Ray
Sons of Thunder Software
Email: kray at sonsothunder.com
Web Site: http://www.sonsothunder.com/ 

> -----Original Message-----
> From: use-revolution-admin at lists.runrev.com 
> [mailto:use-revolution-admin at lists.runrev.com] On Behalf Of 
> erik hansen
> Sent: Tuesday, April 08, 2003 6:09 PM
> To: use-revolution at lists.runrev.com
> Subject: the clickCharChunk: space is not a char?
> 
> 
> 
> after hours of trying to find a workaround, i
> still haven't found a way to make <the
> clickCharChunk> work on the space between text
> chars. 
> 
> the fld is locked, the clickCharChunk and the
> clickChunk both work on linked text, so the
> handler seems to be ok, the fld has been deleted
> and replaced.
> 
> my editor relies on references to character
> location and the user should be able to click in
> between words to paste as well as on them.
> 
> TIA,
> 
> Erik
> 
> =====
> erik at erikhansen.org    http://www.erikhansen.org
> 
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Tax Center - File online, calculators, forms, and more 
http://tax.yahoo.com _______________________________________________
use-revolution mailing list
use-revolution at lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution




More information about the Use-livecode mailing list