-
Notifications
You must be signed in to change notification settings - Fork 179
Fixes for searchDialog, RegexHelperDialog, exception logging #477
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: Development
Are you sure you want to change the base?
Fixes for searchDialog, RegexHelperDialog, exception logging #477
Conversation
Set SearchDialog.buttonRegexHelper.Autosize
Insert new items into comboBox dataSource - _expressionHistoryList and _testtextHistoryList instead of directly into comboBox.Items.
…dExceptionEventArgs
Moved _logger.Info call into if statement where it should be
Replaced the `Button` control `buttonRegexHelper` with a `LinkLabel` control `linkLabelRegexHelper` to improve the UI for the search dialog. Updated `TabIndex` values across multiple controls to ensure proper tab navigation order. Adjusted properties of `linkLabelRegexHelper` for accessibility and alignment with the new design. Modified `groupBoxOptions` and `groupBoxDirection` controls to reflect the new layout, including size and `TabIndex` adjustments. Removed the declaration of `buttonRegexHelper` and added `linkLabelRegexHelper` in the private fields section.
…UnhandledExceptionEventArgs" This reverts commit 79d59d9.
| labelSearchFor = new Label(); | ||
| checkBoxCaseSensitive = new CheckBox(); | ||
| checkBoxRegex = new CheckBox(); | ||
| linkLabelRegexHelper = new LinkLabel(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why change it from button to LinkLabel?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To align the control group boxes and also to avoid issues with size of the button and text overflow.
Testing on a high-DPI display was breaking the layout and using LinkLabel seems like a better option for that feature.
I've certainly seen this pattern used before for help in a search dialog.
PR Classification
Code cleanup and modernization. Should fix #476.
PR Summary
This pull request refactors and modernizes the codebase for improved readability, maintainability, and robustness, while enhancing logging and UI consistency.
comboBoxitem management with encapsulated history lists for better data handling.thisreferences, modernized control properties, and streamlined form setup. (mostly automatic shanges by Visual Studio designer mode)