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

IT svnadmin at nemerle.org
Sun Nov 12 23:02:56 CET 2006


Log:
1. Removed warnings.
2. Comment for kliss.

Author: IT
Date: Sun Nov 12 23:02:54 2006
New Revision: 6875

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

Modified: vs-plugin/trunk/Nemerle.Compiler.Utils/Nemerle.Completion2/CodeModel/Formatter.n
==============================================================================
--- vs-plugin/trunk/Nemerle.Compiler.Utils/Nemerle.Completion2/CodeModel/Formatter.n	(original)
+++ vs-plugin/trunk/Nemerle.Compiler.Utils/Nemerle.Completion2/CodeModel/Formatter.n	Sun Nov 12 23:02:54 2006
@@ -1,3 +1,11 @@
+// IT: we use spaces for indentation in the compiler and integration projects.
+// Please, follow this rule.
+// You can switch to spaces in the C++ project settings (old Nemerle integration is fake).
+// To control spaces and tabs use Ctrl+R+W.
+//
+// Another issue is warnings. Please, don't leave them in the source code you submit in the repository.
+//
+// After you are done with your settings, please, remove this comment.
 
 using Nemerle.Utility;
 using Nemerle.Compiler;
@@ -13,32 +21,29 @@
 		mutable _endLine = 0;
 		[Accessor] _engine : Engine;
 
-		private this()
-		{
-		}
+    //private this(startLn : int, endLn : int)
+    //{
+    //  _startLine = startLn;
+    //  _endLine = endLn;
+    //}
 
-		private this(startLn : int, endLn : int)
-		{
-			_startLine = startLn;
-			_endLine = endLn;
-		}
 		public this(engine : Engine)
 		{
 			_engine = engine;
 		}
 
-
 		// Here we have to fund out what piece of AST to analyze
-		public FormatSpan(startLine : int, 
+    public FormatSpan(
+      startLine : int, 
 							startCol : int, 
-							endLine : int, 
-							endCol : int,
-							filePath : string) : void
+      _endLine : int, 
+      _endCol : int,
+      filePath : string
+    )
+      : void
 		{
-			
-			def rootDecl = this.Engine.Project.GetActiveDecl(filePath, startLine, startCol);
+      def _rootDecl = this.Engine.Project.GetActiveDecl(filePath, startLine, startCol);
 			//MsgBox.Show(rootDecl.ToString());
-
 		}
 	}
 }



More information about the svn mailing list