silly text editing question

Bob Sneidar bobs at twft.com
Thu Mar 19 14:02:51 EDT 2009


The SelectedChunk. I found it by looking in the dictionary under "the  
selection". It's one of the things listed under "See Also:".

Bob Sneidar
IT Manager
Logos Management
Calvary Chapel CM

On Mar 19, 2009, at 10:39 AM, Mark Smith wrote:

> How do you find out where the current "insertion point" in an
> editable field is?
>
> I mean, if you have:
>
> This is line 1
> This is line 2
> This is line 3
>
> in an editable field, if the user has placed the caret after the 'n'
> in line 2 and then hit return for example, how do you know where in
> the field you are? (either in terms of chars, or char n of line n, or
> whatever).
>
> This is probably really simple, but I can't for the life of me figure
> it out!
>
> Best,
>
> Mark
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your  
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution





More information about the use-livecode mailing list