diff options
author | Geir Vattekar <geir.vattekar@trolltech.com> | 2009-06-30 13:16:41 (GMT) |
---|---|---|
committer | Geir Vattekar <geir.vattekar@trolltech.com> | 2009-06-30 13:16:41 (GMT) |
commit | 79ea2c5956f0200fc8754f82b83ca8433c11008a (patch) | |
tree | 3bfff35592c2110cdd3d9b2e86a48e20b65c7dab /src | |
parent | 1fc1eafc9bc5e8e7e69c04b9fac93d45a74ebfbf (diff) | |
download | Qt-79ea2c5956f0200fc8754f82b83ca8433c11008a.zip Qt-79ea2c5956f0200fc8754f82b83ca8433c11008a.tar.gz Qt-79ea2c5956f0200fc8754f82b83ca8433c11008a.tar.bz2 |
Doc: Fixed a doc bug in QPlainTextEdit class description.
Task-number: 256762
Reviewed-by: TrustMe
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/widgets/qplaintextedit.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/gui/widgets/qplaintextedit.cpp b/src/gui/widgets/qplaintextedit.cpp index 465b377..7c077df 100644 --- a/src/gui/widgets/qplaintextedit.cpp +++ b/src/gui/widgets/qplaintextedit.cpp @@ -999,14 +999,13 @@ void QPlainTextEditPrivate::ensureViewportLayouted() QPlainText uses very much the same technology and concepts as QTextEdit, but is optimized for plain text handling. - QPlainTextEdit works on paragraphs and characters. A paragraph is a - formatted string which is word-wrapped to fit into the width of + QPlainTextEdit works on paragraphs and characters. A paragraph is + a formatted string which is word-wrapped to fit into the width of the widget. By default when reading plain text, one newline signifies a paragraph. A document consists of zero or more - paragraphs. The words in the paragraph are aligned in accordance - with the paragraph's alignment. Paragraphs are separated by hard - line breaks. Each character within a paragraph has its own - attributes, for example, font and color. + paragraphs. Paragraphs are separated by hard line breaks. Each + character within a paragraph has its own attributes, for example, + font and color. The shape of the mouse cursor on a QPlainTextEdit is Qt::IBeamCursor by default. It can be changed through the @@ -1148,7 +1147,8 @@ void QPlainTextEditPrivate::ensureViewportLayouted() \sa QTextDocument, QTextCursor, {Application Example}, - {Syntax Highlighter Example}, {Rich Text Processing} + {Code Editor Example}, {Syntax Highlighter Example}, + {Rich Text Processing} */ |