[svn] r6676: vs-plugin/trunk: Nemerle.Compiler.Utils/Nemerle.Completion2/CodeModel/Project.Debug.n Nemerle...

VladD2 svnadmin at nemerle.org
Fri Sep 22 04:13:18 CEST 2006


Log:
Work on relocation.

Author: VladD2
Date: Fri Sep 22 04:13:15 2006
New Revision: 6676

Modified:
   vs-plugin/trunk/Nemerle.Compiler.Utils/Nemerle.Completion2/CodeModel/Project.Debug.n
   vs-plugin/trunk/Nemerle.VsIntegration/Engine/ProjectInfo.cs

Modified: vs-plugin/trunk/Nemerle.Compiler.Utils/Nemerle.Completion2/CodeModel/Project.Debug.n
==============================================================================
--- vs-plugin/trunk/Nemerle.Compiler.Utils/Nemerle.Completion2/CodeModel/Project.Debug.n	(original)
+++ vs-plugin/trunk/Nemerle.Compiler.Utils/Nemerle.Completion2/CodeModel/Project.Debug.n	Fri Sep 22 04:13:15 2006
@@ -4,7 +4,7 @@
 {
 	public partial class Project
 	{
-    UpdateDebugTree(fileIndex : int) : void
+    public UpdateDebugTree(fileIndex : int) : void
     {
       def decl = CompileUnits[fileIndex];
       def tree = CompiledUnitAstBrowser.Instance;

Modified: vs-plugin/trunk/Nemerle.VsIntegration/Engine/ProjectInfo.cs
==============================================================================
--- vs-plugin/trunk/Nemerle.VsIntegration/Engine/ProjectInfo.cs	(original)
+++ vs-plugin/trunk/Nemerle.VsIntegration/Engine/ProjectInfo.cs	Fri Sep 22 04:13:15 2006
@@ -253,7 +253,10 @@
 			if (!Project.AddRelocation(filePath, newEndIndex, newEndLine, 
 				oldEndIndex, oldEndLine, startIndex, startLine)
 			)
+			{
 				ResetTypeTree();
+				Project.UpdateDebugTree(Project.CompileUnits.GetFileIndex(filePath));
+			}
 		}
 
 



More information about the svn mailing list