MCPcopy Create free account
hub / github.com/Palm1r/QodeAssist / DocumentContextReader

Method DocumentContextReader

context/DocumentContextReader.cpp:36–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34namespace QodeAssist::Context {
35
36DocumentContextReader::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
45QString DocumentContextReader::getLineText(int lineNumber, int cursorPosition) const
46{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected