VBScript Outline

Mar 23, 2010 at 5:55 PM

This project doesn't appear to support vbscript outline which was a great feature of Visual Studio 6 and is now impossible to find. Are there any plans for VBScript outline support?

Sep 1, 2010 at 7:43 PM

This project  does support vbscript. May be you have problems because of 2 bugs that I founded some days ago:

1. Procedure RemoveNotEssentialSpaces may cause infinite loop if you text contains symbols from the second half of ASCII table,

It should be fixed as:

private string RemoveNotEssentialSpaces(string line)
        {
            string Result = line;
            string DoubleSpace = "  ";
            //firstly replace tab to space
            Result = Result.Replace("\t", " ");
            int oldlength = 0;
            while (Result.IndexOf(DoubleSpace) >= 0)
            {
                oldlength = Result.Length;
                Result = Result.Replace(DoubleSpace, " ");
                if (Result.Length == oldlength)
                    break;
            }
            return Result;
        }

2. In procedure FindVBScriptFunction should be

const string SubWord = "sub ";   //additional space after 'b'

Evgeny Kleiman