Thanks Jacque, as I didn't think anything had been selected, I never thought of 
'the selection'. In fact the LC dictionary says

> The selection is a reference to the currently selected text.

Which doesn't seem to accord with a flashing cursor in a text string and 
nothing highlighted, i.e. nothing selected - but there it is.

Thanks again - I can move on.

Graham


> On 2 Nov 2014, at 19:19, J. Landman Gay <jac...@hyperactivesw.com> wrote:
> 
> Use "the selection" :
> 
> put myChar after the selection 
> 
> 
> On November 2, 2014 10:56:06 AM CST, Graham Samuel <livf...@mac.com> wrote:
>> 
>> if "field" is in the focusedObject then
>>     put myChar after the focusedObject
>> end if
>> 
>> But of course 'after' ignores the position of the insertion point. I
>> can't see how to bring the insertion point into it. 
> -- 
> 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


_______________________________________________
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