diff options
author | fvogel <fvogel@noemail.net> | 2016-03-27 15:02:41 (GMT) |
---|---|---|
committer | fvogel <fvogel@noemail.net> | 2016-03-27 15:02:41 (GMT) |
commit | 574b311efbd2f5f74af353de0d13af055aad715b (patch) | |
tree | 7d706f6c1eeada6dca99711a031e0d88e9d2dcf6 /doc | |
parent | d63918938e8282dc339afe9f07b711ae2bf5d922 (diff) | |
parent | a393220ff9722cd10134f95d2c5c9a5812cbfe63 (diff) | |
download | tk-574b311efbd2f5f74af353de0d13af055aad715b.zip tk-574b311efbd2f5f74af353de0d13af055aad715b.tar.gz tk-574b311efbd2f5f74af353de0d13af055aad715b.tar.bz2 |
End of fix for [18c08df753] - Merged branch bug-2886436fff-option2
FossilOrigin-Name: ba761976543b86a4cd3d07fff0e46c88a36ff253
Diffstat (limited to 'doc')
-rw-r--r-- | doc/text.n | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -1216,8 +1216,12 @@ If \fIindex2\fR does not specify a position later in the text than \fIindex1\fR then no characters are deleted. If \fIindex2\fR is not specified then the single character at \fIindex1\fR is deleted. -It is not allowable to delete characters in a way that would leave -the text without a newline as the last character. +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, 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. |