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

Function IsDiffPerLine

Src/MergeDocLineDiffs.cpp:128–132  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

126}
127
128static inline bool IsDiffPerLine(bool bTableEditing, const DIFFRANGE& cd)
129{
130 const int LineLimit = 20;
131 return (bTableEditing || (cd.dend - cd.dbegin > LineLimit)) ? true : false;
132}
133
134/**
135 * @brief Returns rectangles to highlight in both views (to show differences in line specified)

Callers 2

GetWordDiffArrayMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected