forked from qt-creator/qt-creator
CppTools: Rename EditorDocumentHandle to CppEditorDocumentHandle
...and related functions. For clarity in client code. Change-Id: Icad6fc7b1eee2ce46a2eba8435359837a23409c8 Reviewed-by: Orgad Shaneh <orgads@gmail.com> Reviewed-by: Erik Verbruggen <erik.verbruggen@theqtcompany.com>
This commit is contained in:
@@ -66,8 +66,8 @@ TextEditor::TextDocument *BaseEditorDocumentProcessor::baseTextDocument() const
|
||||
BaseEditorDocumentProcessor *BaseEditorDocumentProcessor::get(const QString &filePath)
|
||||
{
|
||||
CppModelManager *cmmi = CppModelManager::instance();
|
||||
if (EditorDocumentHandle *editorDocument = cmmi->editorDocument(filePath))
|
||||
return editorDocument->processor();
|
||||
if (CppEditorDocumentHandle *cppEditorDocument = cmmi->cppEditorDocument(filePath))
|
||||
return cppEditorDocument->processor();
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user