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

Method LimitsForRectangularElseMain

scintilla/src/Selection.cxx:204–210  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

202}
203
204SelectionSegment Selection::LimitsForRectangularElseMain() const {
205 if (IsRectangular()) {
206 return Limits();
207 } else {
208 return SelectionSegment(ranges[mainRange].caret, ranges[mainRange].anchor);
209 }
210}
211
212size_t Selection::Count() const {
213 return ranges.size();

Callers 2

KeyCommandMethod · 0.80
WndProcMethod · 0.80

Calls 1

SelectionSegmentClass · 0.85

Tested by

no test coverage detected