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

Method exists

src/eepp/ui/doc/textrange.cpp:273–277  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

271}
272
273bool TextRanges::exists( const TextRange& range ) const {
274 if ( !mIsSorted )
275 return std::find( begin(), end(), range ) != end();
276 return std::binary_search( begin(), end(), range );
277}
278
279size_t TextRanges::findIndex( const TextRange& range ) const {
280 if ( !mIsSorted ) {

Callers 11

loadLayoutFromFileMethod · 0.45
handleFileEventLockedMethod · 0.45
loadFromFileMethod · 0.45
loadFromFileMethod · 0.45
reloadMethod · 0.45
addSelectionMethod · 0.45
selectionIndexMethod · 0.45
selectionExistsMethod · 0.45
selectWordMethod · 0.45
loadFromFileMethod · 0.45
loadFromPackMethod · 0.45

Calls 3

findFunction · 0.85
beginFunction · 0.85
endFunction · 0.85

Tested by

no test coverage detected