void DiffSideBySidePanel::OnPrevDiffSequence(wxRibbonButtonBarEvent& event) { m_cur_sequence--; int firstLine = m_sequences.at(m_cur_sequence).first; int lastLine = m_sequences.at(m_cur_sequence).second; DoDrawSequenceMarkers(firstLine, lastLine, m_stcLeft); DoDrawSequenceMarkers(firstLine, lastLine, m_stcRight); }
void DiffSideBySidePanel::OnNextDiffSequence(wxCommandEvent& event) { m_cur_sequence++; // advance the sequence int firstLine = m_sequences.at(m_cur_sequence).first; int lastLine = m_sequences.at(m_cur_sequence).second; DoDrawSequenceMarkers(firstLine, lastLine, m_stcLeft); DoDrawSequenceMarkers(firstLine, lastLine, m_stcRight); }