Skip to content

Commit

Permalink
Fixed regression: indentation guides highlight
Browse files Browse the repository at this point in the history
Signed-off-by: Eran Ifrah <[email protected]>
  • Loading branch information
eranif committed Jan 15, 2025
1 parent 1d2960f commit bd77042
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions LiteEditor/cl_editor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6471,10 +6471,6 @@ void clEditor::OnIdle(wxIdleEvent& event)
return;
}
m_lastIdlePosition = current_pos;
if (GetHighlightGuide() != wxNOT_FOUND) {
SetHighlightGuide(0);
}

GetContext()->ProcessIdleActions();
}

Expand Down Expand Up @@ -6523,6 +6519,7 @@ void clEditor::DoClearBraceHighlight()
if (m_hasBraceHighlight) {
m_hasBraceHighlight = false;
wxStyledTextCtrl::BraceHighlight(wxSTC_INVALID_POSITION, wxSTC_INVALID_POSITION);
wxStyledTextCtrl::SetHighlightGuide(0); // clear any indent lines highlight
}
}

Expand Down

0 comments on commit bd77042

Please sign in to comment.