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.


_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to