Skip to content

Commit c828c52

Browse files
authored
Merge pull request #424 from LogExperts/418-gui-design---highlighting-unreadable-color
418 gui design highlighting unreadable color
2 parents 83ce0c7 + 5c05a50 commit c828c52

43 files changed

Lines changed: 10639 additions & 11603 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/test_dotnet.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: Setup .NET
2020
uses: actions/setup-dotnet@v4
2121
with:
22-
dotnet-version: 8.0.x
22+
dotnet-version: 9.0.x
2323
- name: Restore dependencies
2424
run: dotnet restore
2525
working-directory: src

global.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"sdk": {
3-
"version": "9.0.101"
3+
"version": "9.0.301"
44
}
5-
}
5+
}

src/ColumnizerLib/Extensions/LogLineExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
namespace LogExpert.Extensions;
1+
namespace LogExpert.Extensions;
22

33
//TODO: Move this to LogExpert.UI, change to internal and fix tests
44
public static class LogLineExtensions

src/ColumnizerLib/ITextValue.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
namespace LogExpert;
1+
namespace LogExpert;
22

33
public interface ITextValue
44
{

src/LogExpert.Core/Classes/Log/LogfileReader.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1785,13 +1785,13 @@ private void DumpBufferInfos (LogBuffer buffer)
17851785

17861786
#endregion
17871787

1788-
public void Dispose()
1788+
public void Dispose ()
17891789
{
17901790
Dispose(true);
17911791
GC.SuppressFinalize(this); // Suppress finalization (not needed but best practice)
17921792
}
17931793

1794-
protected virtual void Dispose(bool disposing)
1794+
protected virtual void Dispose (bool disposing)
17951795
{
17961796
if (!_disposed)
17971797
{
@@ -1808,7 +1808,7 @@ protected virtual void Dispose(bool disposing)
18081808
//TODO: Seems that this can be deleted. Need to verify.
18091809
~LogfileReader ()
18101810
{
1811-
Dispose (false);
1811+
Dispose(false);
18121812
}
18131813

18141814
protected virtual void OnFileSizeChanged (LogEventArgs e)

src/LogExpert.Core/Classes/SpreadEntry.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
namespace LogExpert.Core.Classes;
1+
namespace LogExpert.Core.Classes;
22

33
public class SpreadEntry
44
{
@@ -16,7 +16,7 @@ public class SpreadEntry
1616

1717
#region cTor
1818

19-
public SpreadEntry(int lineNum, int diff, DateTime timestamp)
19+
public SpreadEntry (int lineNum, int diff, DateTime timestamp)
2020
{
2121
LineNum = lineNum;
2222
Diff = diff;

src/LogExpert.Core/Config/ColorEntry.cs

Lines changed: 3 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -7,23 +7,9 @@
77
namespace LogExpert.Core.Config;
88

99
[Serializable]
10-
public class ColorEntry
10+
public class ColorEntry (string FileName, Color Color)
1111
{
12-
#region cTor
12+
public Color Color { get; } = Color;
1313

14-
public ColorEntry(string fileName, Color color)
15-
{
16-
FileName = fileName;
17-
Color = color;
18-
}
19-
20-
#endregion
21-
22-
public Color Color { get; }
23-
24-
public string FileName { get; }
25-
26-
#region Fields
27-
28-
#endregion
14+
public string FileName { get; } = FileName;
2915
}

src/LogExpert.Core/Config/ColorMode.cs

Lines changed: 0 additions & 76 deletions
This file was deleted.

src/LogExpert.Core/Config/Settings.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
using System.Drawing;
22

33
using LogExpert.Core.Classes.Filter;
4-
using LogExpert.Core.Entities;
4+
using LogExpert.Entities;
55

66
namespace LogExpert.Core.Config;
77

src/LogExpert.Core/Entities/SearchParams.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
namespace LogExpert.Core.Entities;
1+
namespace LogExpert.Entities;
22

33
[Serializable]
44
public class SearchParams

0 commit comments

Comments
 (0)