Skip to content

Commit f3a94e9

Browse files
committed
added todo
1 parent bc4eb10 commit f3a94e9

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/LogExpert.UI/Entities/PaintHelper.cs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,7 @@ public static Color GetForeColorBasedOnBackColor (Color backColor)
229229
return isSelectionBackColorDark ? Color.White : Color.Black;
230230
}
231231

232+
//TODO Make this configurable => this should close https://github.com/LogExperts/LogExpert/issues/85
232233
[SupportedOSPlatform("windows")]
233234
public static DataGridViewCellStyle GetDataGridViewCellStyle ()
234235
{
@@ -244,6 +245,7 @@ public static DataGridViewCellStyle GetDataGridViewCellStyle ()
244245
};
245246
}
246247

248+
//TODO Make this configurable => this should close https://github.com/LogExperts/LogExpert/issues/85
247249
[SupportedOSPlatform("windows")]
248250
public static DataGridViewCellStyle GetDataGridDefaultRowStyle ()
249251
{
@@ -321,7 +323,7 @@ private static void PaintCell (ILogPaintContextUI logPaintCtx, DataGridViewCellP
321323
[SupportedOSPlatform("windows")]
322324
private static void PaintHighlightedCell (ILogPaintContextUI logPaintCtx, DataGridViewCellPaintingEventArgs e, HighlightEntry groundEntry)
323325
{
324-
//TODO Refactor if possible since Column is ITextValue
326+
//TODO Refactor if possible since Column is ITextValue
325327
var value = e.Value ?? string.Empty;
326328

327329
var matchList = logPaintCtx.FindHighlightMatches(value as ITextValue);
@@ -428,7 +430,7 @@ private static void PaintHighlightedCell (ILogPaintContextUI logPaintCtx, DataGr
428430
}
429431
else
430432
{
431-
if (bgBrush != null && !matchEntry.HighlightEntry.NoBackground)
433+
if (bgBrush != null && !matchEntry.HighlightEntry.NoBackground)
432434
{
433435
e.Graphics.FillRectangle(bgBrush, wordRect);
434436
}

0 commit comments

Comments
 (0)