Skip to content

Commit 293d0c1

Browse files
committed
removed debug messages
1 parent 3482ee8 commit 293d0c1

File tree

3 files changed

+0
-4
lines changed

3 files changed

+0
-4
lines changed

RetailCoder.VBE/Common/DeclarationExtensions.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -401,8 +401,6 @@ public static Declaration FindInterfaceMember(this IEnumerable<Declaration> decl
401401
public static Declaration FindTarget(this IEnumerable<Declaration> declarations, QualifiedSelection selection)
402402
{
403403
var items = declarations.ToList();
404-
Debug.Assert(!items.Any(item => item.IsBuiltIn));
405-
406404
return items.SingleOrDefault(item => item.IsSelected(selection) || item.References.Any(reference => reference.IsSelected(selection)));
407405
}
408406

RetailCoder.VBE/Common/KeyboardHook.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ private IntPtr HookCallback(int nCode, IntPtr wParam, IntPtr lParam)
2727
var pane = _vbe.ActiveCodePane;
2828
if (User32.IsVbeWindowActive((IntPtr)_vbe.MainWindow.HWnd) && pane != null && (WM)wParam == WM.KEYUP)
2929
{
30-
Debug.WriteLine("KeyboardHook handles message (wParam:{0}, lParam:{1})", wParam, lParam);
3130
int startLine;
3231
int endLine;
3332
int startColumn;

RetailCoder.VBE/Common/MouseHook.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ private IntPtr HookCallback(int nCode, IntPtr wParam, IntPtr lParam)
2525
var pane = _vbe.ActiveCodePane;
2626
if (User32.IsVbeWindowActive((IntPtr)_vbe.MainWindow.HWnd) && nCode >= 0 && pane != null)
2727
{
28-
Debug.WriteLine("MouseHook handles message (wParam:{0}, lParam:{1})", wParam, lParam);
2928
var button = (WM)wParam;
3029
if (button == WM.RBUTTONDOWN || button == WM.LBUTTONDOWN)
3130
{

0 commit comments

Comments
 (0)