| 1461 | */ |
| 1462 | public: |
| 1463 | static string_t diff_text1(const Diffs &diffs) { |
| 1464 | string_t text; |
| 1465 | for (typename Diffs::const_iterator cur_diff = diffs.begin(); cur_diff != diffs.end(); ++cur_diff) { |
| 1466 | if ((*cur_diff).operation != INSERT) { |
| 1467 | text += (*cur_diff).text; |
| 1468 | } |
| 1469 | } |
| 1470 | return text; |
| 1471 | } |
| 1472 | |
| 1473 | /** |
| 1474 | * Compute and return the destination text (all equalities and insertions). |