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

IT svnadmin at nemerle.org
Tue Sep 26 03:10:06 CEST 2006


Log:
Working on regions.

Author: IT
Date: Tue Sep 26 03:10:04 2006
New Revision: 6710

Modified:
   vs-plugin/trunk/Nemerle.Compiler.Utils/Nemerle.Completion2/CodeModel/Project.n

Modified: vs-plugin/trunk/Nemerle.Compiler.Utils/Nemerle.Completion2/CodeModel/Project.n
==============================================================================
--- vs-plugin/trunk/Nemerle.Compiler.Utils/Nemerle.Completion2/CodeModel/Project.n	(original)
+++ vs-plugin/trunk/Nemerle.Compiler.Utils/Nemerle.Completion2/CodeModel/Project.n	Tue Sep 26 03:10:04 2006
@@ -177,7 +177,7 @@
 
           // Get region location.
           //
-          def loc      = method.Location.TrimStart(method.fun_header.Location, false);
+          def loc      = method.Location.TrimStart(method.fun_header.Location, true);
           def bodyCode = getText(loc.Line, loc.Column, loc.EndLine, loc.EndColumn);
 
           addHiddenRegion(



More information about the svn mailing list