public string GetFullTypeNameAtPosition(int charIndex)
{
string fullTypeName;
bool staticAccess;
bool isThis;
ScriptStruct foundType = ParsePreviousExpression(charIndex - 1, out fullTypeName, out staticAccess, out isThis);
if (foundType != null)
{
fullTypeName = foundType.Name + "." + fullTypeName;
}
while (charIndex < scintillaControl1.Length)
{
int thisChar = scintillaControl1.GetCharAt(charIndex);
if (Char.IsLetterOrDigit((char)thisChar) || (thisChar == '_'))
{
fullTypeName += (char)thisChar;
}
else
{
break;
}
charIndex++;
}
return fullTypeName;
}