Missing characters in log view #491
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request introduces several important improvements and refactors related to line length handling, configuration, and .NET version updates. The main focus is on making maximum line lengths for log display and reading configurable, improving test coverage for these behaviors, and updating the project to target .NET 10.0. Below are the most significant changes:
Configurable Maximum Line Lengths
Columnclass via new static methodsSetMaxDisplayLengthandGetMaxDisplayLength, replacing the previous hardcoded value. This allows users to control how much of each log line is shown in the UI. [1] [2]LogfileReaderand log stream reader classes (PositionAwareStreamReaderBase,PositionAwareStreamReaderLegacy,PositionAwareStreamReaderSystem) to accept a configurable maximum line length for reading log file lines, replacing previous constants and improving flexibility. [1] [2] [3] [4] [5] [6] [7] [8]Unit Test Enhancements
ColumnTeststo cover new configuration options for maximum display length, including tests for default, custom, and minimum-enforced values, as well as correct truncation/truncation-avoidance behaviors..NET 10.0 Migration
Minor Refactors and Cleanups
These changes make the codebase more flexible, maintainable, and ready for future .NET releases.