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

Method reset

src/selection.h:47–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45 [[nodiscard]] inline bool isEmpty() const { return !firstLine.isValid() || (firstLine == lastLine && firstPos == lastPos); }
46
47 void reset()
48 {
49 oldLastLine = lastLine;
50 oldFirstLine = firstLine;
51 firstLine.invalidate();
52 lastLine.invalidate();
53 }
54
55 void start(LineRef l, qsizetype p)
56 {

Callers

nothing calls this directly

Calls 1

invalidateMethod · 0.80

Tested by

no test coverage detected