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

Method toLowerSelection

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

Source from the content-addressed store, hash-verified

808}
809
810void TextDocument::toLowerSelection() {
811 for ( size_t i = 0; i < mSelection.size(); ++i ) {
812 TextRange selection( getSelectionIndex( i ) );
813 String selectedText( getSelectedText( i ) );
814 selectedText.toLower();
815 deleteSelection( i );
816 insert( i, getSelectionIndex( i ).start(), selectedText );
817 setSelection( i, selection );
818 }
819}
820
821std::string TextDocument::getLoadingFilePath() const {
822 Lock l( mLoadingFilePathMutex );

Callers

nothing calls this directly

Calls 4

insertFunction · 0.85
toLowerMethod · 0.80
sizeMethod · 0.45
startMethod · 0.45

Tested by

no test coverage detected