MCPcopy Create free account
hub / github.com/dail8859/NotepadNext / start

Method start

src/decorators/BetterMultiSelection.cpp:33–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31 Selection(int caret, int anchor) : caret(caret), anchor(anchor) {}
32
33 int start() const { return qMin(caret, anchor); }
34 int end() const { return qMax(caret, anchor); }
35 int length() const { return end() - start(); }
36 void set(int pos) { anchor = caret = pos; }

Callers 5

createNewWindowMethod · 0.80
runInternalMethod · 0.80
uniquifyFunction · 0.80
EditSelectionsMethod · 0.80
notifyMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected