Skip to content

Commit

Permalink
Find usage view: better colour for displaying matches
Browse files Browse the repository at this point in the history
Signed-off-by: Eran Ifrah <[email protected]>
  • Loading branch information
eranif committed Dec 2, 2024
1 parent c91bf0d commit 98338bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion LiteEditor/findusagetab.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ void FindUsageTab::UpdateStyle()
m_ctrl->SetColours(lexer_colours);

m_headerColour = lexer->GetProperty(wxSTC_C_GLOBALCLASS).GetFgColour();
m_matchColour = lexer->GetProperty(wxSTC_C_DEFAULT).GetFgColour();
m_matchColour = lexer->IsDark() ? clColours::White(true) : clColours::Black(false);

wxColour match_colour_fg = lexer->GetProperty(wxSTC_C_WORD2).GetFgColour();
auto& colours = m_ctrl->GetColours();
Expand Down

0 comments on commit 98338bb

Please sign in to comment.