AGS.Editor.ScintillaWrapper.ShowCalltip C# (CSharp) Метод

ShowCalltip() приватный Метод

private ShowCalltip ( int openingBracketPos, int parameterIndex, bool functionsOnly ) : void
openingBracketPos int
parameterIndex int
functionsOnly bool
Результат void
        private void ShowCalltip(int openingBracketPos, int parameterIndex, bool functionsOnly)
        {
            ScriptStruct foundType;

            ScriptToken tokenFound = GetFinalPartOfExpression(openingBracketPos, out foundType, functionsOnly);
            if (tokenFound != null)
            {
                int nameLength = 0;
                if (tokenFound is ScriptFunction)
                {
                    nameLength = ((ScriptFunction)tokenFound).FunctionName.Length;
                }
                else if (tokenFound is ScriptVariable)
                {
                    nameLength = ((ScriptVariable)tokenFound).VariableName.Length;
                }

                ConstructAndShowCalltip((openingBracketPos - nameLength) + 1, parameterIndex, foundType, tokenFound);
            }
        }
ScintillaWrapper