| 2080 | } |
| 2081 | |
| 2082 | std::string TextDocument::getLineTextUtf8( Int64 line ) const { |
| 2083 | // eeASSERT( line < (Int64)linesCount() ); |
| 2084 | Lock l( mLinesMutex ); |
| 2085 | return line >= (Int64)mLines.size() ? std::string() : mLines[line].getText().toUtf8(); |
| 2086 | } |
| 2087 | |
| 2088 | void TextDocument::getLineTextToBufferUtf8( Int64 line, std::string& buffer ) const { |
| 2089 | // eeASSERT( line < (Int64)linesCount() ); |
no test coverage detected