Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Update Preferences Dialog #1427

Merged
merged 7 commits into from
Mar 5, 2024
Merged

Update Preferences Dialog #1427

merged 7 commits into from
Mar 5, 2024

Conversation

Randalphwa
Copy link
Collaborator

This PR expands the Preferences Dialog. It adds the ability to set the font to use in the various code display panels. It also expands the colors that can be set, while removing the need to restart wxUiEditor after the user changes one or more colors. It also adds versions to wxPython and wxRuby (currently only one version available for each, but could be expanded in the future). It adds 3.3 to the C++ wxWidgets versions.

Note that the Ruby lexer doesn't support a second set of keywords, and doesn't correctly set the color for quoted strings (any of the 6 variants of string types).

It appears to be 8 in the current scintilla in wxWidgets 3.3, so this forces it to
4 to improve readability.
Coupled with the new getLangPanel methods in mainframe, this enables
changing the color of a panel from anywhere.
This is now used in the PreferencesDlg
If FAIL_MSG() is called during event processing, it could result in being called
multiple times until it finally crashes.
Add more colors, version string, font.
@Randalphwa Randalphwa merged commit 99cb7aa into main Mar 5, 2024
@Randalphwa Randalphwa deleted the preferences branch March 5, 2024 16:19
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant