[svn] r7652: vs-plugin/trunk/Nemerle.Compiler.Utils: Nemerle.Completion2/CodeModel/Project.MakeCompletionL...

pbludov svnadmin at nemerle.org
Sat May 5 11:56:17 CEST 2007


Log:
Hack to recover location of an assembly loaded from the memory.

Author: pbludov
Date: Sat May  5 11:56:10 2007
New Revision: 7652

Modified:
   vs-plugin/trunk/Nemerle.Compiler.Utils/Nemerle.Completion2/CodeModel/Project.MakeCompletionList.n
   vs-plugin/trunk/Nemerle.Compiler.Utils/Nemerle.Completion2/CompilerConcreteDefinitions/IntelliSenseModeLibraryReferenceManager.n
   vs-plugin/trunk/Nemerle.Compiler.Utils/Nemerle.Completion2/Engine/Engine.Completion.n
   vs-plugin/trunk/Nemerle.Compiler.Utils/Utils.n

Modified: vs-plugin/trunk/Nemerle.Compiler.Utils/Nemerle.Completion2/CodeModel/Project.MakeCompletionList.n
==============================================================================
--- vs-plugin/trunk/Nemerle.Compiler.Utils/Nemerle.Completion2/CodeModel/Project.MakeCompletionList.n	(original)
+++ vs-plugin/trunk/Nemerle.Compiler.Utils/Nemerle.Completion2/CodeModel/Project.MakeCompletionList.n	Sat May  5 11:56:10 2007
@@ -91,7 +91,7 @@
         def add(keyword)
         { completionList.Add(CompletionElem(GlyphType.Snippet :> int, keyword, "keyword", null)); }
 
-        _expressionKeywords.FilterLazy(_.StartsWithIgnoreCace(result.NamePrefix)).Iter(add);
+        _expressionKeywords.FilterLazy(_.StartsWithIgnoreCase(result.NamePrefix)).Iter(add);
       }
 
       //TODO: Поправить комплейшон для конструкторов.

Modified: vs-plugin/trunk/Nemerle.Compiler.Utils/Nemerle.Completion2/CompilerConcreteDefinitions/IntelliSenseModeLibraryReferenceManager.n
==============================================================================
Files vs-plugin/trunk/Nemerle.Compiler.Utils/Nemerle.Completion2/CompilerConcreteDefinitions/IntelliSenseModeLibraryReferenceManager.n	(original) and vs-plugin/trunk/Nemerle.Compiler.Utils/Nemerle.Completion2/CompilerConcreteDefinitions/IntelliSenseModeLibraryReferenceManager.n	Sat May  5 11:56:10 2007 differ

Modified: vs-plugin/trunk/Nemerle.Compiler.Utils/Nemerle.Completion2/Engine/Engine.Completion.n
==============================================================================
--- vs-plugin/trunk/Nemerle.Compiler.Utils/Nemerle.Completion2/Engine/Engine.Completion.n	(original)
+++ vs-plugin/trunk/Nemerle.Compiler.Utils/Nemerle.Completion2/Engine/Engine.Completion.n	Sat May  5 11:56:10 2007
@@ -215,7 +215,7 @@
           Trace.WriteLine("### RunCompletionEngine() (type enforcement completion) return null!");
           TopKeywords
         }
-        else if ("void".StartsWithIgnoreCace(typeName) || typeName.TrimEnd() == "")
+        else if ("void".StartsWithIgnoreCase(typeName) || typeName.TrimEnd() == "")
           MakeCompletionList(result).Append(CompletionElem(0, "void", "type System.Void", null));
         else MakeCompletionList(result)
       }

Modified: vs-plugin/trunk/Nemerle.Compiler.Utils/Utils.n
==============================================================================
--- vs-plugin/trunk/Nemerle.Compiler.Utils/Utils.n	(original)
+++ vs-plugin/trunk/Nemerle.Compiler.Utils/Utils.n	Sat May  5 11:56:10 2007
@@ -58,7 +58,7 @@
         startIndex, CompareOptions.Ordinal);
     }
 
-    public StartsWithIgnoreCace(this source : string, value : string) : bool
+    public StartsWithIgnoreCase(this source : string, value : string) : bool
     {
       InvariantCultureCompareInfo.IsPrefix(source, value, CompareOptions.IgnoreCase)
     }



More information about the svn mailing list