forked from qt-creator/qt-creator
		
	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:
		| @@ -186,7 +186,7 @@ QByteArray CppEditorSupport::contents() const | ||||
|     const int editorRev = editorRevision(); | ||||
|     if (m_cachedContentsEditorRevision != editorRev && !m_fileIsBeingReloaded) { | ||||
|         m_cachedContentsEditorRevision = editorRev; | ||||
|         m_cachedContents = m_textEditor->textDocument()->contents().toUtf8(); | ||||
|         m_cachedContents = m_textEditor->textDocument()->plainText().toUtf8(); | ||||
|     } | ||||
|  | ||||
|     return m_cachedContents; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user