summaryrefslogtreecommitdiffstats
path: root/src/gui/text/qtextcursor.cpp
diff options
context:
space:
mode:
authorLaszlo Agocs <[email protected]>2015-02-10 16:57:11 +0000
committerThe Qt Project <[email protected]>2015-02-10 16:57:11 +0000
commit0866680bd904aff4fe2a643a2b81c460cbb99c77 (patch)
tree242dae052199994a35f5e68578661175241a0a71 /src/gui/text/qtextcursor.cpp
parent34ea269b3b173498312b0203d6875ef3b4ba0253 (diff)
parentfc35f714340d5361231506dfbead132122f59460 (diff)
Merge "Merge remote-tracking branch 'origin/5.4' into dev" into refs/staging/dev
Diffstat (limited to 'src/gui/text/qtextcursor.cpp')
-rw-r--r--src/gui/text/qtextcursor.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gui/text/qtextcursor.cpp b/src/gui/text/qtextcursor.cpp
index 2e289e2bd8d..b1205a8c850 100644
--- a/src/gui/text/qtextcursor.cpp
+++ b/src/gui/text/qtextcursor.cpp
@@ -910,8 +910,8 @@ QTextLayout *QTextCursorPrivate::blockLayout(QTextBlock &block) const{
select text. For selections see selectionStart(), selectionEnd(),
hasSelection(), clearSelection(), and removeSelectedText().
- If the position() is at the start of a block atBlockStart()
- returns \c true; and if it is at the end of a block atBlockEnd() returns
+ If the position() is at the start of a block, atBlockStart()
+ returns \c true; and if it is at the end of a block, atBlockEnd() returns
true. The format of the current character is returned by
charFormat(), and the format of the current block is returned by
blockFormat().
@@ -921,9 +921,9 @@ QTextLayout *QTextCursorPrivate::blockLayout(QTextBlock &block) const{
mergeBlockFormat() functions. The 'set' functions will replace the
cursor's current character or block format, while the 'merge'
functions add the given format properties to the cursor's current
- format. If the cursor has a selection the given format is applied
- to the current selection. Note that when only parts of a block is
- selected the block format is applied to the entire block. The text
+ format. If the cursor has a selection, the given format is applied
+ to the current selection. Note that when only a part of a block is
+ selected, the block format is applied to the entire block. The text
at the current character position can be turned into a list using
createList().