MCPcopy Create free account
hub / github.com/ProgerXP/Notepad2e / Deallocate

Method Deallocate

scintilla/src/PositionCache.cxx:250–255  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

248}
249
250void LineLayoutCache::Deallocate() {
251 PLATFORM_ASSERT(useCount == 0);
252 for (size_t i = 0; i < cache.size(); i++)
253 delete cache[i];
254 cache.clear();
255}
256
257void LineLayoutCache::Invalidate(LineLayout::validLevel validity_) {
258 if (!cache.empty() && !allInvalidated) {

Callers 1

SetDocPointerMethod · 0.80

Calls 1

sizeMethod · 0.80

Tested by

no test coverage detected