MCPcopy Create free account
hub / github.com/Predelnik/DSpellCheck / active_document

Method active_document

test/MockEditorInterface.cpp:719–723  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

717}
718
719MockedDocumentInfo *MockEditorInterface::active_document() {
720 if (m_documents[m_target_view].empty())
721 return nullptr;
722 return &m_documents[m_target_view][m_active_document_index[m_target_view]];
723}
724
725const MockedDocumentInfo *
726MockEditorInterface::active_document() const {

Callers

nothing calls this directly

Calls 1

emptyMethod · 0.45

Tested by

no test coverage detected