Repository navigation
Conversation
- Add early exit when displayedLines array is empty to prevent Math.Clamp exception - Add safety check for empty _originalLineOffsets collection - Add bounds validation for selectedStartOffset to prevent negative values - Prevents crash when LogEditor.Text transitions to empty state during filtering Root cause: When currentDisplayedText is empty, displayedLines.Length becomes 0, causing Math.Clamp(value, 0, -1) to throw ArgumentException where min > max. This occurred during ApplySearchFilter -> LogText update -> caret position change -> UpdateLookingGlass.
- Add Window_StateChanged event handler to MainWindow - Adjust MainGrid.Margin to (7) when maximized to compensate for Windows positioning - Remove CornerRadius when maximized to prevent rendering artifacts - Restore original values when returning to normal state Root cause: With AllowsTransparency=True and custom WindowChrome, Windows pushes the maximized window slightly outside screen bounds, causing the StatusBar at Grid.Row=6 to be clipped below the visible area. The increased margin compensates for this automatic positioning.
- Add LogEditorFontSize, LookingGlassFontSize, and FontSizeWheelStep to AppSettings - Add corresponding properties to SettingsViewModel - Enable persisting font size preferences across application sessions - Default values: LogEditor=12.0, LookingGlass=10.0, WheelStep=1.0
- Add new 'Shortcuts' tab in SettingsWindow - Document all common keyboard shortcuts (Ctrl+R, Ctrl+Shift+R, F3, etc.) - Add font size wheel step description in Looking Glass settings - Improve user discoverability of application features
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
No description provided.