summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2015-07-14 19:18:58 (GMT)
committerfvogel <fvogelnew1@free.fr>2015-07-14 19:18:58 (GMT)
commitb3db9087841c153570ebfc1edd7ac33f3dd8bbcf (patch)
tree648e06906456a16704104d3ca163756b4175a46b /doc
parentda6ca47d6d53db41a974859bf961ddc2d8f9d1d3 (diff)
downloadtk-bug_2886436fff_option2.zip
tk-bug_2886436fff_option2.tar.gz
tk-bug_2886436fff_option2.tar.bz2
Tried to be even clearer.bug_2886436fff_option2
Diffstat (limited to 'doc')
-rw-r--r--doc/text.n7
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/text.n b/doc/text.n
index 1ccadbb..5b7804a 100644
--- a/doc/text.n
+++ b/doc/text.n
@@ -1218,9 +1218,10 @@ If \fIindex2\fR is not specified then the single character at
\fIindex1\fR is deleted.
Attempts to delete characters in a way that would leave
the text without a newline as the last character will be tweaked by the
-text widget to avoid this. In particular, attempts to delete complete
-lines of text up to the end of the text will result in
-deletion of the newline character just preceding \fIindex1\fR.
+text widget to avoid this. In particular, deletion of complete lines of
+text up to the end of the text will also delete the newline character just
+before the deleted block so that it is replaced by the new final newline
+of the text widget.
The command returns an empty string.
If more indices are given, multiple ranges of text will be deleted.
All indices are first checked for validity before any deletions are made.