|
Public Member Functions |
| AutoCompletion (Shell shell) |
string | AutoCompletePart (string program, out bool firstWord) |
| Extracts the tail of a string which should be tested for auto-completion.
|
ArrayList | Word (string word, bool firstWord) |
| Discovers auto-completion possibilities for a string.
|
Static Public Member Functions |
static string | MakeCommonPart (ArrayList matches) |
| Finds the n first common letters and insert them as the first string in the matches arraylist.
|
Private Member Functions |
void | CheckBuildinCommands (string word, ref ArrayList matches) |
void | CheckVariables (string word, ref ArrayList matches) |
| Checks user defined variables.
|
void | CheckType (Type type, string qualifier, Match m, ref ArrayList matches) |
| Checks for auto-completion, given a type of object (a class) and a string.
|
void | CheckTypeDescrendLevel (string memberName, Type type, string qualifier, Match m, ref ArrayList matches) |
| Descrends a level when checking a type. It is done when there is a seperator, such as a dot (.).
|
void | CheckNamespaces (string word, ref ArrayList matches) |
| Checks for auto-completion possibilities that begins with a namespace or a class.
|
void | DllChanged () |
void | CheckNamespacesRecursive (Node current, string nspace, Match m, string word, ref ArrayList matches) |
| Helper function for CheckNamespaces.
|
void | AddTypeNameMatches (Node current, string uncompletedTypeName, string element, ref ArrayList matches) |
| Adds typenames when doing namespace completion.
|
Node | BuildGraph () |
void | RemoveDuplicates (ref ArrayList matches) |
| Remove duplicate intries in the match array list.
|
Private Attributes |
Regex | namespaceRegex = new Regex(@"([a-zA-Z][a-zA-Z0-9]*)\.?") |
Shell | _shell |
Node | head = null |
Static Private Attributes |
static Regex | completePartRegex |
static Regex | completePartVerifyRegex |
static Regex | typeMatch |
static Regex | isQualified = new Regex(@"[\(\)\.]") |