@@ -36,15 +36,14 @@ type internal FsiCommandFilter(serviceProvider: System.IServiceProvider) =
3636
3737interface IOleCommandTargetwith
3838member x.Exec ( pguidCmdGroup , nCmdId , nCmdexecopt , pvaIn , pvaOut ) =
39- if pguidCmdGroup= VSConstants.VsStd11then
40- if nCmdId= uint32 VSConstants.VSStd11CmdID.ExecuteSelectionInInteractivethen
41- Hooks.OnMLSend projectSystemPackage.Value FsiEditorSendAction.ExecuteSelectionnull null
42- elif nCmdId= uint32 VSConstants.VSStd11CmdID.ExecuteLineInInteractivethen
43- Hooks.OnMLSend projectSystemPackage.Value FsiEditorSendAction.ExecuteLinenull null
39+ if pguidCmdGroup= VSConstants.VsStd11&& nCmdId= uint32 VSConstants.VSStd11CmdID.ExecuteSelectionInInteractivethen
40+ Hooks.OnMLSend projectSystemPackage.Value FsiEditorSendAction.ExecuteSelectionnull null
4441 VSConstants.S_ OK
45- elif pguidCmdGroup= Guids.guidInteractivethen
46- if nCmdId= uint32 Guids.cmdIDDebugSelectionthen
47- Hooks.OnMLSend projectSystemPackage.Value FsiEditorSendAction.DebugSelectionnull null
42+ elif pguidCmdGroup= VSConstants.VsStd11&& nCmdId= uint32 VSConstants.VSStd11CmdID.ExecuteLineInInteractivethen
43+ Hooks.OnMLSend projectSystemPackage.Value FsiEditorSendAction.ExecuteLinenull null
44+ VSConstants.S_ OK
45+ elif pguidCmdGroup= Guids.guidInteractive&& nCmdId= uint32 Guids.cmdIDDebugSelectionthen
46+ Hooks.OnMLSend projectSystemPackage.Value FsiEditorSendAction.DebugSelectionnull null
4847 VSConstants.S_ OK
4948elif not ( isNull nextTarget) then
5049 nextTarget.Exec(& pguidCmdGroup, nCmdId, nCmdexecopt, pvaIn, pvaOut)