forked from qt-creator/qt-creator
Doc: edit texteditor plugin API docs
Fix grammar and style issues and punctuation. Use the \a command instead of \param (not a QDoc command). Change-Id: Ib048f0219a2c857e5fc3fcd858afbcbd58819193 Reviewed-by: David Schulz <david.schulz@digia.com> Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
This commit is contained in:
@@ -208,10 +208,10 @@ ITextMarkable *BaseTextDocument::documentMarker() const
|
||||
}
|
||||
|
||||
/*!
|
||||
* \brief Saves the document to the specified file.
|
||||
* \param errorString output parameter, contains error reason.
|
||||
* \param autoSave signalise that this function was called by the automatic save routine.
|
||||
* If autosave is true, the cursor will be restored and some signals suppressed
|
||||
* Saves the document to the file specified by \a fileName. If errors occur,
|
||||
* \a errorString contains their cause.
|
||||
* \a autoSave returns whether this function was called by the automatic save routine.
|
||||
* If \a autoSave is true, the cursor will be restored and some signals suppressed
|
||||
* and we do not clean up the text file (cleanWhitespace(), ensureFinalNewLine()).
|
||||
*/
|
||||
bool BaseTextDocument::save(QString *errorString, const QString &fileName, bool autoSave)
|
||||
|
||||
Reference in New Issue
Block a user