| 717 | } |
| 718 | |
| 719 | MockedDocumentInfo *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 | |
| 725 | const MockedDocumentInfo * |
| 726 | MockEditorInterface::active_document() const { |