List of handlers

Mark Schonewille m.schonewille at economy-x-talk.com
Sun Sep 11 17:20:17 EDT 2011


Geoff,

Try this:

put token 1 to -1 of the script of tID into tText
put empty into tMenuText
repeat for each line L in tText
    if word 1 of L is among the items of "on,function,getprop,setprop,command,private"
then put L & cr after tMenuText
end repeat

--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
KvK: 50277553

Send me a friend request on Facebook if you like https://www.facebook.com/marksch

On 11 sep 2011, at 23:07, Geoff Canyon Rev wrote:

> This doesn't work with block comments, but this is what I used in revNavigator:
> 
> put the script of tID into tText
> put empty into tMenuText
> repeat for each line L in tText
>     if word 1 of L is among the items of "on,function,getprop,setprop"
> then put L & cr after tMenuText
> end repeat





More information about the use-livecode mailing list