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.
-- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com _______________________________________________ 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