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

Function tabber

src/diff.h:630–633  ·  view source on GitHub ↗

Returns the number of equivalent spaces at position outPos. */

Source from the content-addressed store, hash-verified

628/** Returns the number of equivalent spaces at position outPos.
629*/
630inline qint32 tabber(qint32 outPos, qint32 tabSize)
631{
632 return tabSize - (outPos % tabSize);
633}
634
635/** Returns a line number where the linerange [line, line+nofLines] can
636 be displayed best. If it fits into the currently visible range then

Callers 1

getSelectionMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected