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

Method getLineText

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

Source from the content-addressed store, hash-verified

2040}
2041
2042String TextDocument::getLineText( Int64 line ) const {
2043 // eeASSERT( line < (Int64)linesCount() );
2044 Lock l( mLinesMutex );
2045 return line >= (Int64)mLines.size() ? String() : mLines[line].getText();
2046}
2047
2048String TextDocument::getLineTextSubStr( Int64 line, std::size_t pos, std::size_t n ) const {
2049 // eeASSERT( line < (Int64)linesCount() );

Callers 2

runLinterMethod · 0.80

Calls 2

sizeMethod · 0.45
getTextMethod · 0.45

Tested by

no test coverage detected