forked from qt-creator/qt-creator
Merge remote-tracking branch 'origin/2.8'
Conflicts: src/libs/extensionsystem/pluginmanager.cpp src/libs/extensionsystem/pluginspec.cpp src/plugins/coreplugin/basefilewizard.cpp src/plugins/coreplugin/coreplugin.pro src/plugins/coreplugin/coreplugin.qbs src/plugins/coreplugin/editormanager/ieditor.cpp src/plugins/coreplugin/externaltool.cpp src/plugins/coreplugin/icore.cpp src/plugins/cpptools/cppmodelmanager.cpp src/plugins/fakevim/fakevimhandler.cpp src/plugins/find/ifindfilter.cpp src/plugins/projectexplorer/buildstep.cpp src/plugins/projectexplorer/devicesupport/idevice.cpp src/plugins/projectexplorer/runconfiguration.cpp src/plugins/vcsbase/vcsbaseeditor.cpp tests/system/suite_debugger/tst_simple_analyze/test.py Change-Id: I11dc9e60bfc14bad4f8af747d041fc7678a07c17
This commit is contained in:
@@ -38,7 +38,7 @@
|
||||
\brief The TextFile class is a base class for text files with encoding
|
||||
helpers.
|
||||
|
||||
Stores the format obtained from read operations and uses that when writing
|
||||
This class stores the format obtained from read operations and uses that when writing
|
||||
out files, thus ensuring that CRLF/encodings are preserved.
|
||||
|
||||
\sa Utils::TextFileUtils
|
||||
@@ -83,7 +83,7 @@ QByteArray TextDocument::decodingErrorSample() const
|
||||
}
|
||||
|
||||
/*!
|
||||
\brief Writes out text using the format obtained from the last read.
|
||||
Writes out text using the format obtained from the last read.
|
||||
*/
|
||||
|
||||
bool TextDocument::write(const QString &fileName, const QString &data, QString *errorMessage) const
|
||||
@@ -92,7 +92,7 @@ bool TextDocument::write(const QString &fileName, const QString &data, QString *
|
||||
}
|
||||
|
||||
/*!
|
||||
\brief Writes out text using a custom format obtained.
|
||||
Writes out text using a custom \a format.
|
||||
*/
|
||||
|
||||
bool TextDocument::write(const QString &fileName, const Utils::TextFileFormat &format, const QString &data, QString *errorMessage) const
|
||||
@@ -103,7 +103,7 @@ bool TextDocument::write(const QString &fileName, const Utils::TextFileFormat &f
|
||||
}
|
||||
|
||||
/*!
|
||||
\brief Autodetect format and read in a text file.
|
||||
Autodetects format and reads in the text file specified by \a fileName.
|
||||
*/
|
||||
|
||||
TextDocument::ReadResult TextDocument::read(const QString &fileName, QStringList *plainTextList, QString *errorString)
|
||||
@@ -115,7 +115,7 @@ TextDocument::ReadResult TextDocument::read(const QString &fileName, QStringList
|
||||
}
|
||||
|
||||
/*!
|
||||
\brief Autodetect format and read in a text file.
|
||||
Autodetects format and reads in the text file specified by \a fileName.
|
||||
*/
|
||||
|
||||
TextDocument::ReadResult TextDocument::read(const QString &fileName, QString *plainText, QString *errorString)
|
||||
@@ -146,7 +146,7 @@ void TextDocument::switchUtf8Bom()
|
||||
}
|
||||
|
||||
/*!
|
||||
\brief Returns the format obtained from the last call to read().
|
||||
Returns the format obtained from the last call to \c read().
|
||||
*/
|
||||
|
||||
Utils::TextFileFormat TextDocument::format() const
|
||||
|
||||
Reference in New Issue
Block a user