MCPcopy Create free account
hub / github.com/SpartanJ/eepp / getSelectionsSorted

Method getSelectionsSorted

src/eepp/ui/doc/textdocument.cpp:1318–1323  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1316}
1317
1318TextRanges TextDocument::getSelectionsSorted() const {
1319 auto selections( mSelection );
1320 for ( auto& selection : selections )
1321 selection.normalize();
1322 return selections;
1323}
1324
1325TextRange TextDocument::getSelectionIndex( const size_t& index, bool sort ) const {
1326 eeASSERT( index < mSelection.size() );

Callers 2

drawMethod · 0.80
drawMinimapMethod · 0.80

Calls 1

normalizeMethod · 0.45

Tested by

no test coverage detected