| 34 | namespace QodeAssist::Context { |
| 35 | |
| 36 | DocumentContextReader::DocumentContextReader( |
| 37 | QTextDocument *document, const QString &mimeType, const QString &filePath) |
| 38 | : m_document(document) |
| 39 | , m_mimeType(mimeType) |
| 40 | , m_filePath(filePath) |
| 41 | { |
| 42 | m_copyrightInfo = findCopyright(); |
| 43 | } |
| 44 | |
| 45 | QString DocumentContextReader::getLineText(int lineNumber, int cursorPosition) const |
| 46 | { |
nothing calls this directly
no outgoing calls
no test coverage detected