Rename QString ITextEditorDocument::contents --> plainText

To differentiate it from the byte array based IDocument::setContents

Change-Id: Icc9600732c2742fb79254a0697870bacce3a59ee
Reviewed-by: David Schulz <david.schulz@digia.com>
This commit is contained in:
Eike Ziller
2013-12-09 16:14:55 +01:00
parent 5f2fe51c52
commit 890f72160c
9 changed files with 12 additions and 12 deletions

View File

@@ -329,7 +329,7 @@ ModelManagerInterface::WorkingCopy ModelManager::workingCopy() const
if (TextEditor::BaseTextDocument *textDocument = qobject_cast<TextEditor::BaseTextDocument *>(document)) {
// TODO the language should be a property on the document, not the editor
if (documentModel->editorsForDocument(document).first()->context().contains(ProjectExplorer::Constants::LANG_QMLJS))
workingCopy.insert(key, textDocument->contents(), textDocument->document()->revision());
workingCopy.insert(key, textDocument->plainText(), textDocument->document()->revision());
}
}