MCPcopy Create free account
hub / github.com/KDE/kdiff3 / diff_with

Method diff_with

diff_ext_for_kdiff3/diff_ext.cpp:425–438  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

423}
424
425void DIFF_EXT::diff_with(unsigned int num, bool bMerge)
426{
427 LOG();
428 std::list<tstring>::iterator i = m_recentFiles.begin();
429 for(unsigned int j = 0; j < num && i != m_recentFiles.end(); j++)
430 {
431 i++;
432 }
433
434 if(i != m_recentFiles.end())
435 _file_name2 = *i;
436
437 diff((bMerge ? TEXT("-m \"") : TEXT("\"")) + _file_name2 + TEXT("\" \"") + _file_name1 + TEXT("\""));
438}
439
440tstring
441DIFF_EXT::cut_to_length(const tstring& in, size_t max_len)

Callers

nothing calls this directly

Calls 1

endMethod · 0.80

Tested by

no test coverage detected