summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorfvogel <fvogel@noemail.net>2015-07-14 19:18:58 (GMT)
committerfvogel <fvogel@noemail.net>2015-07-14 19:18:58 (GMT)
commita393220ff9722cd10134f95d2c5c9a5812cbfe63 (patch)
tree648e06906456a16704104d3ca163756b4175a46b /doc
parentc5ff8a991b511e1a4aa1c6e655d56d9aa53028c6 (diff)
downloadtk-a393220ff9722cd10134f95d2c5c9a5812cbfe63.zip
tk-a393220ff9722cd10134f95d2c5c9a5812cbfe63.tar.gz
tk-a393220ff9722cd10134f95d2c5c9a5812cbfe63.tar.bz2
Tried to be even clearer.
FossilOrigin-Name: 5996f0a4c1973d753ba609a6c4344ffa0662f686
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.