Volunteer github guru for documentation submissions?

Monte Goulding monte at appisle.net
Thu Apr 14 02:12:16 EDT 2016


> On 14 Apr 2016, at 3:49 PM, Kay C Lan <lan.kc.macmail at gmail.com> wrote:
> 
> Don't you hate it when you hit Send and immediately realise there is a
> simpler solution. Don't need to ask for your fork name, I can just use the /
> livecode/livecode/ fork to demonstrate the same thing:
> 
> on mouseUp
>   put the htmltext of widget 1 of stack "revDictionary" into tText
>   filter lines of tText with "*<h1 style=" & quote & "margin:0px 0px 30px
> 12px" & quote & ">*"
>   get matchText(tText,".+>(.+?)</h1>",tName)
>   replace " " with "-" in tName
>   get matchText(tText,">type</div><div class=.+?([_a-z]+)</div><div" ,tType
> )
>   put "https://github.com/livecode/livecode/blob/community-docs/docs/dictionary/ <https://github.com/livecode/livecode/blob/community-docs/docs/dictionary/>"
> & \
>         tType & "/" & tName & ".lcdoc" into tPath
>   launch URL tPath
> end mouseUp

Yep, why not turn this into a simple plugin to add a button to the dictionary stack. I’m sure a few people would like to use it.

Cheers

Monte


More information about the use-livecode mailing list