MCPcopy Create free account
hub / github.com/ProgerXP/Notepad2e / Empty

Method Empty

scintilla/src/Selection.h:99–101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

97 SelectionRange(int caret_, int anchor_) : caret(caret_), anchor(anchor_) {
98 }
99 bool Empty() const {
100 return anchor == caret;
101 }
102 int Length() const;
103 // int Width() const; // Like Length but takes virtual space into account
104 bool operator ==(const SelectionRange &other) const {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected