summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorfvogelnew1@free.fr <fvogel>2015-07-14 19:18:58 (GMT)
committerfvogelnew1@free.fr <fvogel>2015-07-14 19:18:58 (GMT)
commit9d31ad228a3264a94397e59ce66f305df61beaf5 (patch)
tree648e06906456a16704104d3ca163756b4175a46b /doc
parentf4fb16f1e029e855e60257e10010a2e191c4b5fd (diff)
downloadtk-9d31ad228a3264a94397e59ce66f305df61beaf5.zip
tk-9d31ad228a3264a94397e59ce66f305df61beaf5.tar.gz
tk-9d31ad228a3264a94397e59ce66f305df61beaf5.tar.bz2
Tried to be even clearer.
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.