[svn] r7560: vs-plugin/trunk: Nemerle.Compiler.Utils/Nemerle.Completion2/CodeModel/ScanLexer.n Nemerle.VsI...

kliss svnadmin at nemerle.org
Thu Mar 29 10:17:04 CEST 2007


Log:
DONE: Clear hover highlights on ESC

Author: kliss
Date: Thu Mar 29 10:17:02 2007
New Revision: 7560

Modified:
   vs-plugin/trunk/Nemerle.Compiler.Utils/Nemerle.Completion2/CodeModel/ScanLexer.n
   vs-plugin/trunk/Nemerle.VsIntegration/LanguageService/NemerleViewFilter.cs

Modified: vs-plugin/trunk/Nemerle.Compiler.Utils/Nemerle.Completion2/CodeModel/ScanLexer.n
==============================================================================
--- vs-plugin/trunk/Nemerle.Compiler.Utils/Nemerle.Completion2/CodeModel/ScanLexer.n	(original)
+++ vs-plugin/trunk/Nemerle.Compiler.Utils/Nemerle.Completion2/CodeModel/ScanLexer.n	Thu Mar 29 10:17:02 2007
@@ -879,6 +879,9 @@
     
     public RemoveLastHighlighting() : void
     {
+      _ = ClearHoverHighlights();
+
+      // Popping last permanent highlighting.
       match(permanentHighlights)
       {
       | _ :: xs => permanentHighlights = xs;

Modified: vs-plugin/trunk/Nemerle.VsIntegration/LanguageService/NemerleViewFilter.cs
==============================================================================
--- vs-plugin/trunk/Nemerle.VsIntegration/LanguageService/NemerleViewFilter.cs	(original)
+++ vs-plugin/trunk/Nemerle.VsIntegration/LanguageService/NemerleViewFilter.cs	Thu Mar 29 10:17:02 2007
@@ -81,11 +81,11 @@
 					if (source != null)
 						source.ProjectInfo.ProjectNode.Package.OnAstToolWindowShow(null, null);
 					break;
-				case 0x3107: // Highlight symbol
+				case 0x3107: // cmdIdAddHighlighting
 					HighlightSymbol();
 					break;
 				case 103: // ESC
-				case 0x3108: // Remove last highlighting
+				case 0x3108: // cmdIdRemoveLastHighlighting
 					RemoveLastHighlighting();
 					break;
 			}



More information about the svn mailing list