Example #1
0
        public SignatureHelpItems GetSignature(FileName fileName, int offset)
        {
            host.position = offset;
            host.UpdateFileName(fileName);

            context.Run(scriptLoader.GetFunctionSignatureScript());

            return(host.SignatureResult.result);
        }
Example #2
0
        public SignatureHelpItems GetSignature(FileName fileName, int offset)
        {
            if (context == null)
            {
                return(new SignatureHelpItems());
            }

            UpdateCompilerSettings();
            host.position = offset;
            host.UpdateFileName(fileName);

            context.Run(scriptLoader.GetFunctionSignatureScript());

            return(host.SignatureResult.result);
        }