Insertion Point

Mike Bonner bonnmike at
Sat Jun 19 12:18:07 EDT 2010

Suppose you want to insert the date at the current location, use
selectedtext to do this. If text is selected it will replace it, if no
text is selected it will insert at the current insertion point.

put the date into the selectedtext

Will pop the date in just fine.

On Sat, Jun 19, 2010 at 10:12 AM, Justin Sloan <sloan.justin at> wrote:
> Hello All,
> I am totally lost and frustrated; I need your help.
> I am writing a simple text editor as my first app. Problem is, I want to be able to insert some text from a menu selection, but the text is always added at the bottom of the text field rather than at the insertion point where the cursor is current located. Any ideas are greatly appreciated.
>  - Justin_______________________________________________
> use-revolution mailing list
> use-revolution at
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

More information about the Use-livecode mailing list