Skip to content

Commit

Permalink
#6021: Highlight secondary keywords in bold and italic
Browse files Browse the repository at this point in the history
  • Loading branch information
codereader committed Jul 30, 2022
1 parent 5ecaebe commit e7a42c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/wxutil/sourceview/SourceView.cpp
Expand Up @@ -9,7 +9,7 @@ SourceViewCtrl::SourceViewCtrl(wxWindow* parent) :
// Predefine a few styles for use in subclasses
_predefinedStyles[Default] = Style("BLACK");
_predefinedStyles[Keyword1] = Style("BLUE", Bold);
_predefinedStyles[Keyword2] = Style("MIDNIGHT BLUE");
_predefinedStyles[Keyword2] = Style("MIDNIGHT BLUE", static_cast<FontStyle>(Bold | Italic));
_predefinedStyles[Keyword3] = Style("CORNFLOWER BLUE");
_predefinedStyles[Keyword4] = Style("CYAN");
_predefinedStyles[Keyword5] = Style("DARK GREY");
Expand Down

0 comments on commit e7a42c9

Please sign in to comment.