| 80 | } |
| 81 | |
| 82 | ContentFile ContextManager::createContentFile(const QString &filePath) const |
| 83 | { |
| 84 | ContentFile contentFile; |
| 85 | QFileInfo fileInfo(filePath); |
| 86 | contentFile.filename = fileInfo.fileName(); |
| 87 | contentFile.content = readFile(filePath); |
| 88 | return contentFile; |
| 89 | } |
| 90 | |
| 91 | ProgrammingLanguage ContextManager::getDocumentLanguage(const DocumentInfo &documentInfo) const |
| 92 | { |