Skip to content

Commit c2660cf

Browse files
committed
Change some trace levels from Warning to Info.
Resolves #66
1 parent 87aca77 commit c2660cf

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

Source/ExcelDna.IntelliSense/IntelliSenseDisplay.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@ void FormulaEditTextChange(string formulaPrefix, Rect editWindowBounds, IntPtr e
349349
}
350350
else
351351
{
352-
Logger.Display.Warn("FormulaEditTextChange with no arguments tooltip !?");
352+
Logger.Display.Info("FormulaEditTextChange with no arguments tooltip !?");
353353
}
354354
return;
355355
}

Source/ExcelDna.IntelliSense/UIMonitor/FormulaEditWatcher.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -348,8 +348,7 @@ void UpdateEditState(bool moveOnly = false)
348348
UninstallLocationMonitor();
349349
IsEditingFormula = false;
350350
prefixChanged = true;
351-
// Debug.Print("Don't have a focused text box to update.");
352-
Debug.Print("#### FormulaEditWatcher - No Window " + Environment.StackTrace);
351+
// Debug.Print("#### FormulaEditWatcher - No Window " + Environment.StackTrace);
353352
}
354353

355354
if (hwnd != IntPtr.Zero)

Source/ExcelDna.IntelliSense/UIMonitor/PopupListWatcher.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,8 +160,8 @@ void UpdateSelectedItem()
160160
_selectedItemIndex = Win32Helper.GetListViewSelectedItemInfo(hwndListView, out text, out itemBounds);
161161
if (string.IsNullOrEmpty(text))
162162
{
163-
// We (unexpectedly) failed to get information about the selected item
164-
Logger.WindowWatcher.Warn($"PopupList UpdateSelectedItem - IsVisible but GetListViewSelectedItemInfo failed ");
163+
// We (unexpectedly) failed to get information about the selected item - not sure this is a problem
164+
Logger.WindowWatcher.Info($"PopupList UpdateSelectedItem - IsVisible but GetListViewSelectedItemInfo failed ");
165165
_selectedItemIndex = -1;
166166
SelectedItemText = string.Empty;
167167
SelectedItemBounds = Rect.Empty;

0 commit comments

Comments
 (0)