Jumping cursors
Richmond Mathewson
richmondmathewson at gmail.com
Wed Jan 4 17:01:57 EST 2017
I have been using "the selectedText" without a backward glance extremely
successfully for 6 years.
Richmond.
On 1/4/17 11:26 pm, J. Landman Gay wrote:
> On 1/4/17 10:33 AM, Richmond Mathewson wrote:
>>
>> set the text of the selectedText to numToCodePoint(0xFF001)
>>
>> and it does do what it is meant to do; i.e. pops character 0xFF001 at
>> the end of the line in my
>> text entry field, but I really want the cursor to end up after that
>> character not in front of it
>
> I'm a little surprised that works at all. The "selectedtext" returns a
> string, not a position. I'd use "selectedChunk" which would provide a
> character location, enabling you to set the cursor at a specific
> position.
>
More information about the use-livecode
mailing list