| 1059 | } |
| 1060 | |
| 1061 | void CWebPageDiffFrame::OnUpdateStatusNum(CCmdUI* pCmdUI) |
| 1062 | { |
| 1063 | tchar_t sIdx[32] = { 0 }; |
| 1064 | tchar_t sCnt[32] = { 0 }; |
| 1065 | String s; |
| 1066 | auto compareState = m_pWebDiffWindow->GetCompareState(); |
| 1067 | |
| 1068 | if (compareState == IWebDiffWindow::NOT_COMPARED) |
| 1069 | { |
| 1070 | } |
| 1071 | else if (compareState == IWebDiffWindow::COMPARING) |
| 1072 | { |
| 1073 | s = I18n::LoadString(IDS_WEBPAGE_COMPARING); |
| 1074 | } |
| 1075 | else |
| 1076 | { |
| 1077 | s = CMergeFrameCommon::GetDiffStatusString(m_pWebDiffWindow->GetCurrentDiffIndex(), m_pWebDiffWindow->GetDiffCount()); |
| 1078 | } |
| 1079 | pCmdUI->SetText(s.c_str()); |
| 1080 | } |
| 1081 | |
| 1082 | /** |
| 1083 | * @brief Cut current selection to clipboard |
nothing calls this directly
no test coverage detected