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

Method getLineHash

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

Source from the content-addressed store, hash-verified

2052}
2053
2054String::HashType TextDocument::getLineHash( Int64 line ) const {
2055 // eeASSERT( line < (Int64)linesCount() );
2056 Lock l( mLinesMutex );
2057 return line >= (Int64)mLines.size() ? 0 : mLines[line].getHash();
2058}
2059
2060String TextDocument::getLineTextWithoutNewLine( Int64 line ) const {
2061 // eeASSERT( line < (Int64)linesCount() );

Callers 15

highlightMethod · 0.80
processMessageMethod · 0.80
runLinterMethod · 0.80
drawAfterLineTextMethod · 0.80
minimapDrawBeforeMethod · 0.80
registerNativeLintersMethod · 0.80
runSpellCheckerMethod · 0.80
drawAfterLineTextMethod · 0.80
minimapDrawBeforeMethod · 0.80
getLineWidthMethod · 0.80
onDocumentLineMoveMethod · 0.80
drawLineTextMethod · 0.80

Calls 2

sizeMethod · 0.45
getHashMethod · 0.45

Tested by

no test coverage detected