MCPcopy Create free account
hub / github.com/WinMerge/winmerge / ComputeWordDiffs

Function ComputeWordDiffs

Src/stringdiffs.cpp:54–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52}
53
54std::vector<wdiff>
55ComputeWordDiffs(const String& str1, const String& str2,
56 bool case_sensitive, EolCompareMode eol_mode, int whitespace, bool ignore_numbers, int breakType, bool byte_level)
57{
58 String strs[3] = {str1, str2, _T("")};
59 return ComputeWordDiffs(2, strs, case_sensitive, eol_mode, whitespace, ignore_numbers, breakType, byte_level);
60}
61
62struct Comp02Functor
63{

Callers 5

TEST_FFunction · 0.85
TEST_FFunction · 0.85
TEST_FFunction · 0.85
TEST_FFunction · 0.85

Calls 7

Make3wayDiffFunction · 0.85
BuildWordDiffListMethod · 0.80
wordLevelToByteLevelMethod · 0.80
PopulateDiffsMethod · 0.80
Comp02FunctorClass · 0.70
emptyMethod · 0.45
sizeMethod · 0.45

Tested by 4

TEST_FFunction · 0.68
TEST_FFunction · 0.68
TEST_FFunction · 0.68
TEST_FFunction · 0.68