[svn] r7098: vs-plugin/trunk/Nemerle.VsIntegration/LanguageService/NemerleViewFilter.cs

VladD2 svnadmin at nemerle.org
Fri Dec 15 22:58:52 CET 2006


Log:
Menu handlers.

Author: VladD2
Date: Fri Dec 15 22:58:51 2006
New Revision: 7098

Modified:
   vs-plugin/trunk/Nemerle.VsIntegration/LanguageService/NemerleViewFilter.cs

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	Fri Dec 15 22:58:51 2006
@@ -16,6 +16,24 @@
 		{
 		}
 
+		protected override int ExecCommand(ref Guid guidCmdGroup, uint nCmdId, uint nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut)
+		{
+			string txt = null;
+			switch (nCmdId)
+			{
+				case 0x3001: txt = "cmdidSetAsMain"; break;
+				case 0x3101: txt = "cmdIdExtendSelection"; break;
+				case 0x3102: txt = "cmdIdShrinkSelection"; break;
+				case 0x3103: txt = "cmdIdRename"; break;
+				case 0x3104: txt = "cmdIdInline"; break;
+				case 0x3105: txt = "cmdIdOptions"; break;
+			}
+			if (txt != null)
+				System.Diagnostics.Trace.Assert(false, "Âðîäå êàê ñðàáîòàëî âàøå ìåíþ, ñýð! ;)\r\nID: " + txt);
+			
+			return base.ExecCommand(ref guidCmdGroup, nCmdId, nCmdexecopt, pvaIn, pvaOut);
+		}
+
 		protected override int QueryCommandStatus(ref Guid guidCmdGroup, uint nCmdId)
 		{
 			if (guidCmdGroup == VSConstants.VSStd2K && 



More information about the svn mailing list