lcVCS - Getting started

Monte Goulding monte at sweattechnologies.com
Fri Sep 13 02:00:08 EDT 2013


On 13/09/2013, at 3:53 PM, Mark Wieder <mwieder at ahsoftware.net> wrote:

> Monte-
> 
> Thursday, September 12, 2013, 5:34:28 PM, you wrote:
> 
>> I hadn't thought about supporting multiple script editors yet.
>> How does one tell if GLX is the user's current choice of script
>> editor?
> 
> I suppose you could check to see if GLX2 is in the frontscripts.
> 
> function GLX2IsActive
>    local tIsActive
> 
>    put false into tIsActive
>    -- see if GLX2 is available
>    if "GLX2" is in the frontscripts then
>        -- see if GLX2 is active
>        if the cUseGLX2 of stack "revGLX2 Code" is true then
>            -- GLX2 is active
>            put true into tIsActive
>        end if
>    end if
>    return tIsActive
> end GLX2IsActive

OK, thanks. Once I've re-designed the exported files to cope with Windows I'll look at adding GLX2 support.

Cheers

--
Monte Goulding

M E R Goulding - software development services
mergExt - There's an external for that!








More information about the use-livecode mailing list